Enum SocketOption

    • Enum Constant Detail

      • SO_DEBUG

        public static final SocketOption SO_DEBUG
        Deprecated.
      • SO_ACCEPTCONN

        public static final SocketOption SO_ACCEPTCONN
        Deprecated.
      • SO_REUSEADDR

        public static final SocketOption SO_REUSEADDR
        Deprecated.
      • SO_KEEPALIVE

        public static final SocketOption SO_KEEPALIVE
        Deprecated.
      • SO_DONTROUTE

        public static final SocketOption SO_DONTROUTE
        Deprecated.
      • SO_BROADCAST

        public static final SocketOption SO_BROADCAST
        Deprecated.
      • SO_USELOOPBACK

        public static final SocketOption SO_USELOOPBACK
        Deprecated.
      • SO_LINGER

        public static final SocketOption SO_LINGER
        Deprecated.
      • SO_OOBINLINE

        public static final SocketOption SO_OOBINLINE
        Deprecated.
      • SO_REUSEPORT

        public static final SocketOption SO_REUSEPORT
        Deprecated.
      • SO_TIMESTAMP

        public static final SocketOption SO_TIMESTAMP
        Deprecated.
      • SO_ACCEPTFILTER

        public static final SocketOption SO_ACCEPTFILTER
        Deprecated.
      • SO_DONTTRUNC

        public static final SocketOption SO_DONTTRUNC
        Deprecated.
      • SO_WANTMORE

        public static final SocketOption SO_WANTMORE
        Deprecated.
      • SO_WANTOOBFLAG

        public static final SocketOption SO_WANTOOBFLAG
        Deprecated.
      • SO_SNDBUF

        public static final SocketOption SO_SNDBUF
        Deprecated.
      • SO_RCVBUF

        public static final SocketOption SO_RCVBUF
        Deprecated.
      • SO_SNDLOWAT

        public static final SocketOption SO_SNDLOWAT
        Deprecated.
      • SO_RCVLOWAT

        public static final SocketOption SO_RCVLOWAT
        Deprecated.
      • SO_SNDTIMEO

        public static final SocketOption SO_SNDTIMEO
        Deprecated.
      • SO_RCVTIMEO

        public static final SocketOption SO_RCVTIMEO
        Deprecated.
      • SO_ERROR

        public static final SocketOption SO_ERROR
        Deprecated.
      • SO_TYPE

        public static final SocketOption SO_TYPE
        Deprecated.
      • SO_NREAD

        public static final SocketOption SO_NREAD
        Deprecated.
      • SO_NKE

        public static final SocketOption SO_NKE
        Deprecated.
      • SO_NOSIGPIPE

        public static final SocketOption SO_NOSIGPIPE
        Deprecated.
      • SO_NOADDRERR

        public static final SocketOption SO_NOADDRERR
        Deprecated.
      • SO_NWRITE

        public static final SocketOption SO_NWRITE
        Deprecated.
      • SO_REUSESHAREUID

        public static final SocketOption SO_REUSESHAREUID
        Deprecated.
      • SO_LABEL

        public static final SocketOption SO_LABEL
        Deprecated.
      • SO_PEERLABEL

        public static final SocketOption SO_PEERLABEL
        Deprecated.
      • SO_ATTACH_FILTER

        public static final SocketOption SO_ATTACH_FILTER
        Deprecated.
      • SO_BINDTODEVICE

        public static final SocketOption SO_BINDTODEVICE
        Deprecated.
      • SO_DETACH_FILTER

        public static final SocketOption SO_DETACH_FILTER
        Deprecated.
      • SO_NO_CHECK

        public static final SocketOption SO_NO_CHECK
        Deprecated.
      • SO_PASSCRED

        public static final SocketOption SO_PASSCRED
        Deprecated.
      • SO_PEERCRED

        public static final SocketOption SO_PEERCRED
        Deprecated.
      • SO_PEERNAME

        public static final SocketOption SO_PEERNAME
        Deprecated.
      • SO_PRIORITY

        public static final SocketOption SO_PRIORITY
        Deprecated.
      • SO_SECURITY_AUTHENTICATION

        public static final SocketOption SO_SECURITY_AUTHENTICATION
        Deprecated.
      • SO_SECURITY_ENCRYPTION_NETWORK

        public static final SocketOption SO_SECURITY_ENCRYPTION_NETWORK
        Deprecated.
      • SO_SECURITY_ENCRYPTION_TRANSPORT

        public static final SocketOption SO_SECURITY_ENCRYPTION_TRANSPORT
        Deprecated.
      • __UNKNOWN_CONSTANT__

        public static final SocketOption __UNKNOWN_CONSTANT__
        Deprecated.
    • Method Detail

      • values

        public static SocketOption[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SocketOption c : SocketOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SocketOption valueOf​(java.lang.String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public final int value()
        Deprecated.
        Specified by:
        value in interface Constant
      • intValue

        public final int intValue()
        Deprecated.
        Specified by:
        intValue in interface Constant
      • longValue

        public final long longValue()
        Deprecated.
        Specified by:
        longValue in interface Constant
      • description

        public final java.lang.String description()
        Deprecated.
      • defined

        public final boolean defined()
        Deprecated.
        Specified by:
        defined in interface Constant
      • toString

        public final java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Enum<SocketOption>
      • valueOf

        public static final SocketOption valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null