Class SetLevelCrossingPacket
- java.lang.Object
-
- jmri.jmrix.ipocs.protocol.packets.Packet
-
- jmri.jmrix.ipocs.protocol.packets.SetLevelCrossingPacket
-
public class SetLevelCrossingPacket extends Packet
Level Crossing Order- Since:
- 4.21.2
-
-
Field Summary
Fields Modifier and Type Field Description static byteIDENT
-
Constructor Summary
Constructors Constructor Description SetLevelCrossingPacket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RqLevelCrossingCommandgetCommand()shortgetDelay()bytegetId()bytegetTrack()protected voidparseSpecific(java.nio.ByteBuffer buffer)protected byte[]serializeSpecific()voidsetCommand(RqLevelCrossingCommand command)voidsetDelay(short delay)voidsetTrack(byte track)
-
-
-
Field Detail
-
IDENT
public static final byte IDENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetLevelCrossingPacket
public SetLevelCrossingPacket()
-
-
Method Detail
-
parseSpecific
protected void parseSpecific(java.nio.ByteBuffer buffer)
- Specified by:
parseSpecificin classPacket
-
serializeSpecific
protected byte[] serializeSpecific()
- Specified by:
serializeSpecificin classPacket
-
getCommand
public RqLevelCrossingCommand getCommand()
-
setCommand
public void setCommand(RqLevelCrossingCommand command)
-
getDelay
public short getDelay()
-
setDelay
public void setDelay(short delay)
-
getTrack
public byte getTrack()
-
setTrack
public void setTrack(byte track)
-
-