Class PubSubConnectionDataType
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
-
- org.apache.plc4x.java.opcua.readwrite.PubSubConnectionDataType
-
- All Implemented Interfaces:
Message,Serializable
public class PubSubConnectionDataType extends ExtensionObjectDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPubSubConnectionDataType.PubSubConnectionDataTypeBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected ExtensionObjectaddressprotected List<ExtensionObjectDefinition>connectionPropertiesprotected booleanenabledprotected PascalStringnameprotected intnoOfConnectionPropertiesprotected intnoOfReaderGroupsprotected intnoOfWriterGroupsprotected VariantpublisherIdprotected List<PubSubGroupDataType>readerGroupsprotected PascalStringtransportProfileUriprotected ExtensionObjecttransportSettingsprotected List<PubSubGroupDataType>writerGroups
-
Constructor Summary
Constructors Constructor Description PubSubConnectionDataType(PascalString name, boolean enabled, Variant publisherId, PascalString transportProfileUri, ExtensionObject address, int noOfConnectionProperties, List<ExtensionObjectDefinition> connectionProperties, ExtensionObject transportSettings, int noOfWriterGroups, List<PubSubGroupDataType> writerGroups, int noOfReaderGroups, List<PubSubGroupDataType> readerGroups)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExtensionObjectgetAddress()List<ExtensionObjectDefinition>getConnectionProperties()booleangetEnabled()StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()PascalStringgetName()intgetNoOfConnectionProperties()intgetNoOfReaderGroups()intgetNoOfWriterGroups()VariantgetPublisherId()List<PubSubGroupDataType>getReaderGroups()PascalStringgetTransportProfileUri()ExtensionObjectgetTransportSettings()List<PubSubGroupDataType>getWriterGroups()inthashCode()protected voidserializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer)static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilderstaticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
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
-
-
-
-
Field Detail
-
name
protected final PascalString name
-
enabled
protected final boolean enabled
-
publisherId
protected final Variant publisherId
-
transportProfileUri
protected final PascalString transportProfileUri
-
address
protected final ExtensionObject address
-
noOfConnectionProperties
protected final int noOfConnectionProperties
-
connectionProperties
protected final List<ExtensionObjectDefinition> connectionProperties
-
transportSettings
protected final ExtensionObject transportSettings
-
noOfWriterGroups
protected final int noOfWriterGroups
-
writerGroups
protected final List<PubSubGroupDataType> writerGroups
-
noOfReaderGroups
protected final int noOfReaderGroups
-
readerGroups
protected final List<PubSubGroupDataType> readerGroups
-
-
Constructor Detail
-
PubSubConnectionDataType
public PubSubConnectionDataType(PascalString name, boolean enabled, Variant publisherId, PascalString transportProfileUri, ExtensionObject address, int noOfConnectionProperties, List<ExtensionObjectDefinition> connectionProperties, ExtensionObject transportSettings, int noOfWriterGroups, List<PubSubGroupDataType> writerGroups, int noOfReaderGroups, List<PubSubGroupDataType> readerGroups)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getName
public PascalString getName()
-
getEnabled
public boolean getEnabled()
-
getPublisherId
public Variant getPublisherId()
-
getTransportProfileUri
public PascalString getTransportProfileUri()
-
getAddress
public ExtensionObject getAddress()
-
getNoOfConnectionProperties
public int getNoOfConnectionProperties()
-
getConnectionProperties
public List<ExtensionObjectDefinition> getConnectionProperties()
-
getTransportSettings
public ExtensionObject getTransportSettings()
-
getNoOfWriterGroups
public int getNoOfWriterGroups()
-
getWriterGroups
public List<PubSubGroupDataType> getWriterGroups()
-
getNoOfReaderGroups
public int getNoOfReaderGroups()
-
getReaderGroups
public List<PubSubGroupDataType> getReaderGroups()
-
serializeExtensionObjectDefinitionChild
protected void serializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeExtensionObjectDefinitionChildin classExtensionObjectDefinition- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classExtensionObjectDefinition
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classExtensionObjectDefinition
-
staticParseExtensionObjectDefinitionBuilder
public static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder staticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
public String toString()
- Overrides:
toStringin classExtensionObjectDefinition
-
-