Class SignOfLifeTimerPacket
- java.lang.Object
-
- jmri.jmrix.ipocs.protocol.packets.Packet
-
- jmri.jmrix.ipocs.protocol.packets.SignOfLifeTimerPacket
-
public class SignOfLifeTimerPacket extends Packet
Request IPOCS unit to periodically send sign of life notifications.- Since:
- 4.21.2
-
-
Field Summary
Fields Modifier and Type Field Description static byte
IDENT
-
Constructor Summary
Constructors Constructor Description SignOfLifeTimerPacket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getId()
short
getInterval()
protected void
parseSpecific(java.nio.ByteBuffer buffer)
protected byte[]
serializeSpecific()
void
setInterval(short interval)
-
-
-
Field Detail
-
IDENT
public static final byte IDENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignOfLifeTimerPacket
public SignOfLifeTimerPacket()
-
-
Method Detail
-
parseSpecific
protected void parseSpecific(java.nio.ByteBuffer buffer)
- Specified by:
parseSpecific
in classPacket
-
serializeSpecific
protected byte[] serializeSpecific()
- Specified by:
serializeSpecific
in classPacket
-
getInterval
public short getInterval()
-
setInterval
public void setInterval(short interval)
-
-