public enum SocketOption extends Enum<SocketOption> implements Constant
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
String |
description() |
int |
intValue() |
long |
longValue() |
String |
toString() |
static SocketOption |
valueOf(long value) |
static SocketOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketOption SO_DEBUG
public static final SocketOption SO_ACCEPTCONN
public static final SocketOption SO_REUSEADDR
public static final SocketOption SO_KEEPALIVE
public static final SocketOption SO_DONTROUTE
public static final SocketOption SO_BROADCAST
public static final SocketOption SO_USELOOPBACK
public static final SocketOption SO_LINGER
public static final SocketOption SO_OOBINLINE
public static final SocketOption SO_REUSEPORT
public static final SocketOption SO_TIMESTAMP
public static final SocketOption SO_ACCEPTFILTER
public static final SocketOption SO_DONTTRUNC
public static final SocketOption SO_WANTMORE
public static final SocketOption SO_WANTOOBFLAG
public static final SocketOption SO_SNDBUF
public static final SocketOption SO_RCVBUF
public static final SocketOption SO_SNDLOWAT
public static final SocketOption SO_RCVLOWAT
public static final SocketOption SO_SNDTIMEO
public static final SocketOption SO_RCVTIMEO
public static final SocketOption SO_ERROR
public static final SocketOption SO_TYPE
public static final SocketOption SO_NREAD
public static final SocketOption SO_NKE
public static final SocketOption SO_NOSIGPIPE
public static final SocketOption SO_NOADDRERR
public static final SocketOption SO_NWRITE
public static final SocketOption SO_REUSESHAREUID
public static final SocketOption SO_LABEL
public static final SocketOption SO_PEERLABEL
public static final SocketOption SO_ATTACH_FILTER
public static final SocketOption SO_BINDTODEVICE
public static final SocketOption SO_DETACH_FILTER
public static final SocketOption SO_NO_CHECK
public static final SocketOption SO_PASSCRED
public static final SocketOption SO_PEERCRED
public static final SocketOption SO_PEERNAME
public static final SocketOption SO_PRIORITY
public static final SocketOption SO_SECURITY_AUTHENTICATION
public static final SocketOption SO_SECURITY_ENCRYPTION_NETWORK
public static final SocketOption SO_SECURITY_ENCRYPTION_TRANSPORT
public static final SocketOption __UNKNOWN_CONSTANT__
public static SocketOption[] values()
for (SocketOption c : SocketOption.values()) System.out.println(c);
public static SocketOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final String description()
public final String toString()
toString
in class Enum<SocketOption>
public static SocketOption valueOf(long value)
Copyright © 2017. All Rights Reserved.