org.openmuc.jsml.structures
public class SML_Message extends Sequence
Modifier and Type | Field and Description |
---|---|
protected Unsigned8 |
abortOnError |
protected Unsigned16 |
crc16 |
protected EndOfSmlMessage |
endOfSmlMsg |
protected Unsigned8 |
groupNo |
protected SML_MessageBody |
messageBody |
protected OctetString |
transactionId |
isOptional, isSelected
Constructor and Description |
---|
SML_Message() |
SML_Message(OctetString transactionId,
Unsigned8 groupNo,
Unsigned8 abortOnError,
SML_MessageBody messageBody) |
Modifier and Type | Method and Description |
---|---|
void |
code(java.io.DataOutputStream os)
encodes this object and writes it to the stream os.
|
protected void |
createElements() |
boolean |
decodeAndCheck(java.io.DataInputStream is) |
Unsigned8 |
getAbortOnError() |
Unsigned8 |
getGroupNo() |
SML_MessageBody |
getMessageBody() |
OctetString |
getTransactionId() |
void |
print()
prints the content or type of the object to stdout
|
void |
setAbortOnError(Unsigned8 abortOnError) |
void |
setGroupNo(Unsigned8 groupNo) |
void |
setTransactionId(OctetString transactionId) |
isOptional, isSelected, setOptional, setSelected
protected OctetString transactionId
protected Unsigned8 groupNo
protected Unsigned8 abortOnError
protected SML_MessageBody messageBody
protected Unsigned16 crc16
protected EndOfSmlMessage endOfSmlMsg
public SML_Message(OctetString transactionId, Unsigned8 groupNo, Unsigned8 abortOnError, SML_MessageBody messageBody)
public SML_Message()
public void setTransactionId(OctetString transactionId)
public void setGroupNo(Unsigned8 groupNo)
public void setAbortOnError(Unsigned8 abortOnError)
public OctetString getTransactionId()
public Unsigned8 getGroupNo()
public Unsigned8 getAbortOnError()
public SML_MessageBody getMessageBody()
public void code(java.io.DataOutputStream os) throws java.io.IOException
ASNObject
public boolean decodeAndCheck(java.io.DataInputStream is) throws java.io.IOException
java.io.IOException
protected void createElements()
createElements
in class Sequence