public enum NetChannelType extends java.lang.Enum<NetChannelType>
| Enum Constant and Description |
|---|
CH_MESSAGE |
CH_REQUEST |
CH_TRANSFER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMessageChannel() |
boolean |
isRequestChannel() |
boolean |
isTransferChannel() |
static NetChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetChannelType CH_REQUEST
public static final NetChannelType CH_MESSAGE
public static final NetChannelType CH_TRANSFER
public static NetChannelType[] values()
for (NetChannelType c : NetChannelType.values()) System.out.println(c);
public static NetChannelType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isRequestChannel()
public boolean isMessageChannel()
public boolean isTransferChannel()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.