public enum ProtocolType extends Enum<ProtocolType> implements IByteConstant
| Enum Constant and Description |
|---|
Async |
Bisync_3270 |
NotSpecified |
SNA |
TCP_IP |
UDP_IP |
X25 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte() |
static ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolType NotSpecified
public static final ProtocolType TCP_IP
public static final ProtocolType UDP_IP
public static final ProtocolType X25
public static final ProtocolType SNA
public static final ProtocolType Async
public static final ProtocolType Bisync_3270
public static ProtocolType[] values()
for (ProtocolType c : ProtocolType.values()) System.out.println(c);
public static ProtocolType 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 nullpublic byte getByte()
getByte in interface IByteConstantCopyright © 2024. All rights reserved.