public class Error extends MsgToCCS
MESSAGE_SET_VERSION| Constructor and Description |
|---|
Error(ByteBuffer data)
Reads and converts the PLC form of the message.
|
Error(int sequence,
Set<PLCError> errors)
Constructs from scratch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Puts the message into a data buffer.
|
Set<PLCError> |
getErrors()
Gets the set of errors that this message is reporting.
|
String |
toString()
Converts the message to a readable string.
|
getVersion, messageVersionIsBadpublic Error(int sequence,
Set<PLCError> errors)
sequence - A message sequence number.errors - The set of errors.public Error(ByteBuffer data)
data - Holds the PLC message data.public void encode(ByteBuffer data)
public Set<PLCError> getErrors()
public String toString()
PLCMsgtoString in class MsgToCCSCopyright © 2022 LSST. All rights reserved.