Class DerailerStatusPacket
- java.lang.Object
-
- jmri.jmrix.ipocs.protocol.packets.Packet
-
- jmri.jmrix.ipocs.protocol.packets.DerailerStatusPacket
-
public class DerailerStatusPacket extends Packet
Derailer status- Since:
- 4.21.2
-
-
Field Summary
Fields Modifier and Type Field Description static byte
IDENT
-
Constructor Summary
Constructors Constructor Description DerailerStatusPacket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getId()
short
getOperationTime()
RqReleaseState
getReleaseState()
RqDerailerState
getState()
protected void
parseSpecific(java.nio.ByteBuffer buffer)
protected byte[]
serializeSpecific()
void
setOperationTime(short operationTime)
void
setReleaseState(RqReleaseState releaseState)
void
setState(RqDerailerState state)
-
-
-
Field Detail
-
IDENT
public static final byte IDENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DerailerStatusPacket
public DerailerStatusPacket()
-
-
Method Detail
-
parseSpecific
protected void parseSpecific(java.nio.ByteBuffer buffer)
- Specified by:
parseSpecific
in classPacket
-
serializeSpecific
protected byte[] serializeSpecific()
- Specified by:
serializeSpecific
in classPacket
-
getState
public RqDerailerState getState()
-
setState
public void setState(RqDerailerState state)
-
getReleaseState
public RqReleaseState getReleaseState()
-
setReleaseState
public void setReleaseState(RqReleaseState releaseState)
-
getOperationTime
public short getOperationTime()
-
setOperationTime
public void setOperationTime(short operationTime)
-
-