Class IOControl


  • public class IOControl
    extends Object
    • Field Detail

      • SO_TIMEOUT_PROP

        public static final String SO_TIMEOUT_PROP
        This property allows to enable/disable SO_TIMEOUT with the specified timeout in milliseconds, default value is 5.000L (5 seconds).

        Server side, this property can be fixed either from java launching command, or in a3servers.xml configuration file. Client side, this property can be set in properties of InitialContext.

        See Also:
        Constant Field Values
      • DEFAULT_SO_TIMEOUT

        public static final int DEFAULT_SO_TIMEOUT
        Default value for SO_TIMEOUT property.
        See Also:
        Constant Field Values
      • socketTimeOut

        private static int socketTimeOut
        Enable/disable SO_TIMEOUT with the specified timeout in milliseconds, default value is 5.000L (5 seconds).

        This value can be adjusted by setting the environment property fr.dyade.aaa.jndi2.socketTimeOut. With this option set to a non-zero timeout, a read() call on the InputStream associated with this Socket will block for only this amount of time.

      • SO_LINGER_PROP

        public static final String SO_LINGER_PROP
        This property allows to enable/disable SO_LINGER with the specified linger time in seconds, if the value is less than 0 then it disables SO_LINGER. Default value is -1.

        Server side this property can be fixed either from java launching command, or in a3servers.xml configuration file. Client side, this property can be set in properties of InitialContext.

        See Also:
        Constant Field Values
      • socketLinger

        private static int socketLinger
        Enable SO_LINGER with the specified linger time in seconds, if the value is less than 0 then it disables SO_LINGER. Default value is -1.

        This value can be adjusted by setting the environment property fr.dyade.aaa.jndi2.socketLinger. With this option set to a non-zero timeout, a read() call on the InputStream associated with this Socket will block for only this amount of time.

      • SO_REUSE_ADDRESS_PROP

        public static final String SO_REUSE_ADDRESS_PROP
        This property allows to enable/disable the SO_REUSEADDR socket option, default is false.

        Server side this property can be fixed either from java launching command, or in a3servers.xml configuration file. Client side, this property can be set in properties of InitialContext.

        See Also:
        Constant Field Values
      • socketReuseAddress

        private static boolean socketReuseAddress
        Enable/disable the SO_REUSEADDR socket option, default is false.

        This value can be adjusted by setting the environment property fr.dyade.aaa.jndi2.socketReuseAddress.

        See Also:
        Socket.setReuseAddress(boolean)
      • socket

        private Socket socket