Package org.openmuc.jdlms
Class RawMessageData.RawMessageDataBuilder
- java.lang.Object
-
- org.openmuc.jdlms.RawMessageData.RawMessageDataBuilder
-
- Enclosing class:
- RawMessageData
public static class RawMessageData.RawMessageDataBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RawMessageData
build()
Build a new RawMessageData object form the settings.RawMessageData.RawMessageDataBuilder
setApdu(RawMessageData.Apdu apdu)
Set the APDU.RawMessageData.RawMessageDataBuilder
setMessage(byte[] message)
Set the complete message, transmitted over the line.RawMessageData.RawMessageDataBuilder
setMessageSource(RawMessageData.MessageSource messageSource)
Set the message source of the message.
-
-
-
Method Detail
-
setMessageSource
public RawMessageData.RawMessageDataBuilder setMessageSource(RawMessageData.MessageSource messageSource)
Set the message source of the message.- Parameters:
messageSource
- the message source.- Returns:
- the builder.
-
setMessage
public RawMessageData.RawMessageDataBuilder setMessage(byte[] message)
Set the complete message, transmitted over the line.- Parameters:
message
- the copmlete message as byte array.- Returns:
- the builder.
-
setApdu
public RawMessageData.RawMessageDataBuilder setApdu(RawMessageData.Apdu apdu)
Set the APDU.- Parameters:
apdu
- the APDU-- Returns:
- the builder.
-
build
public RawMessageData build()
Build a new RawMessageData object form the settings.- Returns:
- a new RawMessageData.
-
-