public static enum ProtocolIdentification.Protocol extends Enum<ProtocolIdentification.Protocol>
Modifier and Type | Field and Description |
---|---|
(package private) String |
name |
(package private) long |
value |
Modifier and Type | Method and Description |
---|---|
(package private) static List<ProtocolIdentification.Protocol> |
decode(long r) |
(package private) static List<String> |
decodeNames(long r) |
String |
getName() |
(package private) boolean |
supports(long r) |
static ProtocolIdentification.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolIdentification.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolIdentification.Protocol ProtocolIdentification
public static final ProtocolIdentification.Protocol Datagram
public static final ProtocolIdentification.Protocol Stream
public static final ProtocolIdentification.Protocol Configuration
public static final ProtocolIdentification.Protocol Reservation
public static final ProtocolIdentification.Protocol ProducerConsumer
public static final ProtocolIdentification.Protocol Identification
public static final ProtocolIdentification.Protocol TeachingLearningConfiguration
public static final ProtocolIdentification.Protocol RemoteButton
public static final ProtocolIdentification.Protocol AbbreviatedDefaultCDI
public static final ProtocolIdentification.Protocol Display
public static final ProtocolIdentification.Protocol SimpleNodeID
public static final ProtocolIdentification.Protocol ConfigurationDescription
public static final ProtocolIdentification.Protocol TractionControl
public static final ProtocolIdentification.Protocol FunctionDescription
public static final ProtocolIdentification.Protocol DccCommandStation
long value
String name
public static ProtocolIdentification.Protocol[] values()
for (ProtocolIdentification.Protocol c : ProtocolIdentification.Protocol.values()) System.out.println(c);
public static ProtocolIdentification.Protocol 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 nullboolean supports(long r)
public String getName()
static List<ProtocolIdentification.Protocol> decode(long r)
Information on copyright, trademarks and licenses is linked here.
Site hosted by: