Class RegisteredServer
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
-
- org.apache.plc4x.java.opcua.readwrite.RegisteredServer
-
- All Implemented Interfaces:
Message,Serializable
public class RegisteredServer extends ExtensionObjectDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegisteredServer.RegisteredServerBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PascalString>discoveryUrlsprotected PascalStringgatewayServerUriprotected booleanisOnlineprotected intnoOfDiscoveryUrlsprotected intnoOfServerNamesprotected PascalStringproductUriprotected PascalStringsemaphoreFilePathprotected List<LocalizedText>serverNamesprotected ApplicationTypeserverTypeprotected PascalStringserverUri
-
Constructor Summary
Constructors Constructor Description RegisteredServer(PascalString serverUri, PascalString productUri, int noOfServerNames, List<LocalizedText> serverNames, ApplicationType serverType, PascalString gatewayServerUri, int noOfDiscoveryUrls, List<PascalString> discoveryUrls, PascalString semaphoreFilePath, boolean isOnline)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<PascalString>getDiscoveryUrls()PascalStringgetGatewayServerUri()StringgetIdentifier()booleangetIsOnline()intgetLengthInBits()intgetLengthInBytes()intgetNoOfDiscoveryUrls()intgetNoOfServerNames()PascalStringgetProductUri()PascalStringgetSemaphoreFilePath()List<LocalizedText>getServerNames()ApplicationTypegetServerType()PascalStringgetServerUri()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
-
serverUri
protected final PascalString serverUri
-
productUri
protected final PascalString productUri
-
noOfServerNames
protected final int noOfServerNames
-
serverNames
protected final List<LocalizedText> serverNames
-
serverType
protected final ApplicationType serverType
-
gatewayServerUri
protected final PascalString gatewayServerUri
-
noOfDiscoveryUrls
protected final int noOfDiscoveryUrls
-
discoveryUrls
protected final List<PascalString> discoveryUrls
-
semaphoreFilePath
protected final PascalString semaphoreFilePath
-
isOnline
protected final boolean isOnline
-
-
Constructor Detail
-
RegisteredServer
public RegisteredServer(PascalString serverUri, PascalString productUri, int noOfServerNames, List<LocalizedText> serverNames, ApplicationType serverType, PascalString gatewayServerUri, int noOfDiscoveryUrls, List<PascalString> discoveryUrls, PascalString semaphoreFilePath, boolean isOnline)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getServerUri
public PascalString getServerUri()
-
getProductUri
public PascalString getProductUri()
-
getNoOfServerNames
public int getNoOfServerNames()
-
getServerNames
public List<LocalizedText> getServerNames()
-
getServerType
public ApplicationType getServerType()
-
getGatewayServerUri
public PascalString getGatewayServerUri()
-
getNoOfDiscoveryUrls
public int getNoOfDiscoveryUrls()
-
getDiscoveryUrls
public List<PascalString> getDiscoveryUrls()
-
getSemaphoreFilePath
public PascalString getSemaphoreFilePath()
-
getIsOnline
public boolean getIsOnline()
-
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
-
-