Package org.openmuc.jdlms
Class RawMessageData
- java.lang.Object
-
- org.openmuc.jdlms.RawMessageData
-
public class RawMessageData extends java.lang.Object
jDLMS raw message data for logging purposes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RawMessageData.Apdu
Representation of an APDU.static class
RawMessageData.CosemPdu
Representation of a raw COSEM PDU.static class
RawMessageData.MessageSource
The source of the message.static class
RawMessageData.RawMessageDataBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawMessageData.RawMessageDataBuilder
builder()
Constructs a RawMessageDataBuilder.RawMessageData.Apdu
getApdu()
Get the APDU.byte[]
getMessage()
Get the whole message, which is transmitted between client and server.RawMessageData.MessageSource
getMessageSource()
Get the source of the message.java.lang.String
toString()
-
-
-
Method Detail
-
getMessageSource
public RawMessageData.MessageSource getMessageSource()
Get the source of the message.- Returns:
- the source of the message.
-
getMessage
public byte[] getMessage()
Get the whole message, which is transmitted between client and server.- Returns:
- the message as byte array.
-
getApdu
public RawMessageData.Apdu getApdu()
Get the APDU.- Returns:
- return the APDU.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static RawMessageData.RawMessageDataBuilder builder()
Constructs a RawMessageDataBuilder.- Returns:
- the newly constructed RawRawMessageDataBuilder
-
-