public static enum NioEvent.NioEventType extends Enum<NioEvent.NioEventType>
NioEvent
types.Enum Constant and Description |
---|
ACCEPT
Denotes a connection accept request.
|
CLOSE
Denotes a connection close request.
|
CONNECT
Denotes a connection connect request.
|
DISPATCH
Denotes a connection dispatch notification.
|
ERROR
Denotes a connection error notification.
|
GET_BACKLOG_SIZE
Denotes a request to get the listen backlog size.
|
GET_BOUND_ADDRESSES
Denotes a request to get the list of bound addresses.
|
GET_CONNECTIONS
Denotes a request to get the list of connections.
|
INVOKE
Denotes a request to execute code on the manager thread.
|
OP
Denotes a connection operation interest change request.
|
REGISTER
Denotes a connection registration request.
|
SET_BACKLOG_SIZE
Denotes a request to set the listen backlog size.
|
SHUTDOWN
Denotes a request to shut down the manager thread.
|
Modifier and Type | Method and Description |
---|---|
static NioEvent.NioEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NioEvent.NioEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NioEvent.NioEventType CONNECT
public static final NioEvent.NioEventType ACCEPT
public static final NioEvent.NioEventType REGISTER
public static final NioEvent.NioEventType DISPATCH
public static final NioEvent.NioEventType OP
public static final NioEvent.NioEventType CLOSE
public static final NioEvent.NioEventType ERROR
public static final NioEvent.NioEventType INVOKE
public static final NioEvent.NioEventType GET_BOUND_ADDRESSES
public static final NioEvent.NioEventType GET_CONNECTIONS
public static final NioEvent.NioEventType GET_BACKLOG_SIZE
public static final NioEvent.NioEventType SET_BACKLOG_SIZE
public static final NioEvent.NioEventType SHUTDOWN
public static NioEvent.NioEventType[] values()
for (NioEvent.NioEventType c : NioEvent.NioEventType.values()) System.out.println(c);
public static NioEvent.NioEventType 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 null