public enum CauseOfTransmissionType extends Enum<CauseOfTransmissionType>
Modifier and Type | Method and Description |
---|---|
abstract byte |
readCause(io.netty.buffer.ByteBuf data) |
abstract byte |
readOriginatorAddress(io.netty.buffer.ByteBuf data) |
static CauseOfTransmissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CauseOfTransmissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract void |
write(byte cause,
byte originatorAddress,
io.netty.buffer.ByteBuf out) |
public static final CauseOfTransmissionType SIZE_1
public static final CauseOfTransmissionType SIZE_2
public static CauseOfTransmissionType[] values()
for (CauseOfTransmissionType c : CauseOfTransmissionType.values()) System.out.println(c);
public static CauseOfTransmissionType 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 abstract byte readCause(io.netty.buffer.ByteBuf data)
public abstract byte readOriginatorAddress(io.netty.buffer.ByteBuf data)
public abstract void write(byte cause, byte originatorAddress, io.netty.buffer.ByteBuf out)