public class DoubleCommand extends AbstractInformationObjectMessage implements MirrorableMessage<DoubleCommand>
informationObjectAddressheader, MAX_INFORMATION_ENTRIES| Constructor and Description |
|---|
DoubleCommand(ASDUHeader header,
InformationObjectAddress informationObjectAddress,
boolean state) |
DoubleCommand(ASDUHeader header,
InformationObjectAddress informationObjectAddress,
boolean state,
byte type,
boolean execute) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ProtocolOptions options,
io.netty.buffer.ByteBuf out) |
boolean |
getState() |
byte |
getType() |
boolean |
isExecute() |
boolean |
isState() |
DoubleCommand |
mirror(Cause cause,
boolean positive) |
static DoubleCommand |
parse(ProtocolOptions options,
byte length,
ASDUHeader header,
io.netty.buffer.ByteBuf data) |
getInformationObjectAddressdump, getHeader, toStringpublic DoubleCommand(ASDUHeader header, InformationObjectAddress informationObjectAddress, boolean state, byte type, boolean execute)
public DoubleCommand(ASDUHeader header, InformationObjectAddress informationObjectAddress, boolean state)
public byte getType()
public boolean isState()
public boolean getState()
public boolean isExecute()
public DoubleCommand mirror(Cause cause, boolean positive)
mirror in interface MirrorableMessage<DoubleCommand>public void encode(ProtocolOptions options, io.netty.buffer.ByteBuf out)
encode in interface Encodeablepublic static DoubleCommand parse(ProtocolOptions options, byte length, ASDUHeader header, io.netty.buffer.ByteBuf data)
Copyright © 2017 Eclipse NeoSCADA Project. All rights reserved.