public abstract class MsgToCCS extends PLCMsg
MESSAGE_SET_VERSION| Constructor and Description |
|---|
MsgToCCS(ByteBuffer data)
Gets the sequence number from a byte buffer.
|
MsgToCCS(int sequence)
Saves the sequence number.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Puts the sequence number into a data buffer.
|
String |
toString()
Converts the message to a readable string.
|
getVersion, messageVersionIsBadpublic MsgToCCS(int sequence)
sequence - The sequence number.public MsgToCCS(ByteBuffer data)
data - The data buffer.public void encode(ByteBuffer data)
public String toString()
PLCMsgtoString in class PLCMsgCopyright © 2023 LSST. All rights reserved.