Class LocalReleasePacket
- java.lang.Object
-
- jmri.jmrix.ipocs.protocol.packets.Packet
-
- jmri.jmrix.ipocs.protocol.packets.LocalReleasePacket
-
public class LocalReleasePacket extends Packet
Order to release for or retake local control.- Since:
- 4.21.2
-
-
Field Summary
Fields Modifier and Type Field Description static byteIDENT
-
Constructor Summary
Constructors Constructor Description LocalReleasePacket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RqReleaseCommandgetCommand()bytegetId()protected voidparseSpecific(java.nio.ByteBuffer buffer)protected byte[]serializeSpecific()voidsetCommand(RqReleaseCommand command)
-
-
-
Field Detail
-
IDENT
public static final byte IDENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LocalReleasePacket
public LocalReleasePacket()
-
-
Method Detail
-
parseSpecific
protected void parseSpecific(java.nio.ByteBuffer buffer)
- Specified by:
parseSpecificin classPacket
-
serializeSpecific
protected byte[] serializeSpecific()
- Specified by:
serializeSpecificin classPacket
-
getCommand
public RqReleaseCommand getCommand()
-
setCommand
public void setCommand(RqReleaseCommand command)
-
-