Class ExtensionObject
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObject
-
- All Implemented Interfaces:
Message,Serializable
public class ExtensionObject extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected ExtensionObjectDefinitionbodyprotected ExtensionObjectEncodingMaskencodingMaskprotected ExpandedNodeIdtypeId
-
Constructor Summary
Constructors Constructor Description ExtensionObject(ExpandedNodeId typeId, ExtensionObjectEncodingMask encodingMask, ExtensionObjectDefinition body)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExtensionObjectDefinitiongetBody()ExtensionObjectEncodingMaskgetEncodingMask()StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()ExpandedNodeIdgetTypeId()inthashCode()voidserialize(WriteBuffer writeBuffer)static ExtensionObjectstaticParse(ReadBuffer readBuffer, Boolean includeEncodingMask)static ExtensionObjectstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
typeId
protected final ExpandedNodeId typeId
-
encodingMask
protected final ExtensionObjectEncodingMask encodingMask
-
body
protected final ExtensionObjectDefinition body
-
-
Constructor Detail
-
ExtensionObject
public ExtensionObject(ExpandedNodeId typeId, ExtensionObjectEncodingMask encodingMask, ExtensionObjectDefinition body)
-
-
Method Detail
-
getTypeId
public ExpandedNodeId getTypeId()
-
getEncodingMask
public ExtensionObjectEncodingMask getEncodingMask()
-
getBody
public ExtensionObjectDefinition getBody()
-
getIdentifier
public String getIdentifier()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static ExtensionObject staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static ExtensionObject staticParse(ReadBuffer readBuffer, Boolean includeEncodingMask) throws ParseException
- Throws:
ParseException
-
-