public static enum SocketAddressCallback.Kind extends Enum<SocketAddressCallback.Kind>
Enum Constant and Description |
---|
LOCAL
The local endpoint.
|
PEER
The remote (peer) endpoint.
|
Modifier and Type | Method and Description |
---|---|
static SocketAddressCallback.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketAddressCallback.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketAddressCallback.Kind LOCAL
public static final SocketAddressCallback.Kind PEER
public static SocketAddressCallback.Kind[] values()
for (SocketAddressCallback.Kind c : SocketAddressCallback.Kind.values()) System.out.println(c);
public static SocketAddressCallback.Kind 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 © 2020 JBoss by Red Hat. All rights reserved.