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