public static enum JIoEndpoint.Handler.SocketState extends Enum<JIoEndpoint.Handler.SocketState>
Modifier and Type | Method and Description |
---|---|
static JIoEndpoint.Handler.SocketState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JIoEndpoint.Handler.SocketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JIoEndpoint.Handler.SocketState OPEN
public static final JIoEndpoint.Handler.SocketState CLOSED
public static final JIoEndpoint.Handler.SocketState LONG
public static JIoEndpoint.Handler.SocketState[] values()
for (JIoEndpoint.Handler.SocketState c : JIoEndpoint.Handler.SocketState.values()) System.out.println(c);
public static JIoEndpoint.Handler.SocketState 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 nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.