Class BinaryPayload
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.Payload
-
- org.apache.plc4x.java.opcua.readwrite.BinaryPayload
-
- All Implemented Interfaces:
Message,Serializable
public class BinaryPayload extends Payload implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinaryPayload.BinaryPayloadBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.Payload
Payload.PayloadBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]payload-
Fields inherited from class org.apache.plc4x.java.opcua.readwrite.Payload
sequenceHeader
-
-
Constructor Summary
Constructors Constructor Description BinaryPayload(SequenceHeader sequenceHeader, byte[] payload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetExtensible()intgetLengthInBits()intgetLengthInBytes()byte[]getPayload()inthashCode()protected voidserializePayloadChild(WriteBuffer writeBuffer)static Payload.PayloadBuilderstaticParsePayloadBuilder(ReadBuffer readBuffer, Boolean extensible, Long byteCount)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.Payload
getSequenceHeader, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Constructor Detail
-
BinaryPayload
public BinaryPayload(SequenceHeader sequenceHeader, byte[] payload)
-
-
Method Detail
-
getExtensible
public Boolean getExtensible()
- Specified by:
getExtensiblein classPayload
-
getPayload
public byte[] getPayload()
-
serializePayloadChild
protected void serializePayloadChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializePayloadChildin classPayload- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classPayload
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classPayload
-
staticParsePayloadBuilder
public static Payload.PayloadBuilder staticParsePayloadBuilder(ReadBuffer readBuffer, Boolean extensible, Long byteCount) throws ParseException
- Throws:
ParseException
-
-