Package org.openmuc.jdlms
Class RawMessageData.CosemPdu
- java.lang.Object
-
- org.openmuc.jdlms.RawMessageData.CosemPdu
-
- Enclosing class:
- RawMessageData
public static class RawMessageData.CosemPdu extends java.lang.Object
Representation of a raw COSEM PDU.
-
-
Constructor Summary
Constructors Constructor Description CosemPdu(byte[] cipheredCosemPdu, byte[] plainCosemPdu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCipheredCosemPdu()
Get the ciphered COSEM PDU.byte[]
getPlainCosemPdu()
Get the plain COSEM PDUjava.lang.String
toString()
-
-
-
Method Detail
-
getCipheredCosemPdu
public byte[] getCipheredCosemPdu()
Get the ciphered COSEM PDU.NOTE: this may be
null
if the transmitted message is no encrypted.- Returns:
- the ciphered COSEM PDU as byte array.
-
getPlainCosemPdu
public byte[] getPlainCosemPdu()
Get the plain COSEM PDU- Returns:
- returns the plain/unencrypted COSEM PDU.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-