Class ExtensionObject
java.lang.Object
org.apache.plc4x.java.opcua.readwrite.ExtensionObject
- All Implemented Interfaces:
Message,Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExtensionObjectDefinitionprotected final ExtensionObjectEncodingMaskprotected final Booleanprotected final ExpandedNodeId -
Constructor Summary
ConstructorsConstructorDescriptionExtensionObject(ExpandedNodeId typeId, ExtensionObjectEncodingMask encodingMask, ExtensionObjectDefinition body, Boolean includeEncodingMask) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBody()intintinthashCode()voidserialize(WriteBuffer writeBuffer) static ExtensionObjectstaticParse(ReadBuffer readBuffer, Boolean includeEncodingMask) static ExtensionObjectstaticParse(ReadBuffer readBuffer, Object... args) toString()
-
Field Details
-
typeId
-
encodingMask
-
body
-
includeEncodingMask
-
-
Constructor Details
-
ExtensionObject
public ExtensionObject(ExpandedNodeId typeId, ExtensionObjectEncodingMask encodingMask, ExtensionObjectDefinition body, Boolean includeEncodingMask)
-
-
Method Details
-
getTypeId
-
getEncodingMask
-
getBody
-
getIdentifier
-
serialize
- 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
-
equals
-
hashCode
public int hashCode() -
toString
-