public enum TransmitterTransmitState extends java.lang.Enum<TransmitterTransmitState>
Enum Constant and Description |
---|
OFF
Off
|
ON_AND_TRANSMITTING
On and transmitting
|
ON_BUT_NOT_TRANSMITTING
On but not transmitting
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static TransmitterTransmitState |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static TransmitterTransmitState |
unmarshalEnum(java.nio.ByteBuffer buff) |
static TransmitterTransmitState |
unmarshalEnum(java.io.DataInputStream dis) |
static TransmitterTransmitState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransmitterTransmitState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransmitterTransmitState OFF
public static final TransmitterTransmitState ON_BUT_NOT_TRANSMITTING
public static final TransmitterTransmitState ON_AND_TRANSMITTING
public static TransmitterTransmitState[] values()
for (TransmitterTransmitState c : TransmitterTransmitState.values()) System.out.println(c);
public static TransmitterTransmitState 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 int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static TransmitterTransmitState getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static TransmitterTransmitState unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static TransmitterTransmitState unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()