|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<KindUDT>
com.barchart.udt.nio.KindUDT
public enum KindUDT
UDT channel role type, or kind.
TypeUDT means stream (byte oriented) vs datagram (message oriented).
KindUDT gives distinction between server vs client vs peer.
| Enum Constant Summary | |
|---|---|
ACCEPTOR
Server mode: listens and accepts connections; generates CONNECTOR as a result of SocketUDT.accept() |
|
CONNECTOR
Client mode: channel which initiates connections to servers; options are user-provided. |
|
RENDEZVOUS
Rendezvous mode: symmetric peer channel on each side of the connection. |
|
| Method Summary | |
|---|---|
static KindUDT |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KindUDT[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final KindUDT ACCEPTOR
CONNECTOR as a result of SocketUDT.accept()
ServerSocketChannelUDTpublic static final KindUDT CONNECTOR
Server mode: channel which is a result of accept(); inherits options from
parent ACCEPTOR.
SocketChannelUDTpublic static final KindUDT RENDEZVOUS
RendezvousChannelUDT| Method Detail |
|---|
public static KindUDT[] values()
for (KindUDT c : KindUDT.values()) System.out.println(c);
public static KindUDT valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||