com.prosysopc.ua.types.opcua.server
Class ServerConfigurationTypeNodeBase

java.lang.Object
  extended by com.prosysopc.ua.nodes.AbstractUaNode
      extended by com.prosysopc.ua.server.nodes.ServerNode
          extended by com.prosysopc.ua.server.nodes.BaseNode
              extended by com.prosysopc.ua.server.nodes.UaInstanceNode
                  extended by com.prosysopc.ua.server.nodes.UaObjectNode
                      extended by com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
                          extended by com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
                              extended by com.prosysopc.ua.types.opcua.server.ServerConfigurationTypeNodeBase
All Implemented Interfaces:
UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseInstanceType, BaseObjectType, ServerConfigurationType
Direct Known Subclasses:
ServerConfigurationTypeNode

public abstract class ServerConfigurationTypeNodeBase
extends BaseObjectTypeNode
implements ServerConfigurationType

Generated on 2018-05-09 10:46:24


Field Summary
 
Fields inherited from class com.prosysopc.ua.server.nodes.BaseNode
NODE_VERSION_PROPERTY_NAME
 
Fields inherited from class com.prosysopc.ua.server.nodes.ServerNode
eventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap
 
Fields inherited from interface com.prosysopc.ua.types.opcua.ServerConfigurationType
APPLY_CHANGES, CERTIFICATE_GROUPS, CREATE_SIGNING_REQUEST, GET_REJECTED_LIST, MAX_TRUST_LIST_SIZE, MULTICAST_DNS_ENABLED, SERVER_CAPABILITIES, SUPPORTED_PRIVATE_KEY_FORMATS, UPDATE_CERTIFICATE
 
Constructor Summary
protected ServerConfigurationTypeNodeBase(NodeManagerUaNode nodeManager, org.opcfoundation.ua.builtintypes.NodeId nodeId, org.opcfoundation.ua.builtintypes.QualifiedName browseName, org.opcfoundation.ua.builtintypes.LocalizedText displayName)
           
 
Method Summary
 void afterCreate()
          This method is called after NodeBuilder has constructed the instance, it is called for every sub-node that also implement this interface
 void applyChanges()
           
 org.opcfoundation.ua.builtintypes.Variant[] callMethod(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId methodId, org.opcfoundation.ua.builtintypes.Variant[] inputArguments, org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults, org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
          Fallback implementation when no subtype handles the method call.
 org.opcfoundation.ua.builtintypes.ByteString createSigningRequest(org.opcfoundation.ua.builtintypes.NodeId certificateGroupId, org.opcfoundation.ua.builtintypes.NodeId certificateTypeId, String subjectName, Boolean regeneratePrivateKey, org.opcfoundation.ua.builtintypes.ByteString nonce)
           
static ServerConfigurationTypeApplyChangesMethod getApplyChangesMethodImplementation()
           
 UaMethod getApplyChangesNode()
           
 CertificateGroupFolderTypeNode getCertificateGroupsNode()
           
static ServerConfigurationTypeCreateSigningRequestMethod getCreateSigningRequestMethodImplementation()
           
 UaMethod getCreateSigningRequestNode()
           
static ServerConfigurationTypeGetRejectedListMethod getGetRejectedListMethodImplementation()
           
 UaMethod getGetRejectedListNode()
           
 org.opcfoundation.ua.builtintypes.UnsignedInteger getMaxTrustListSize()
           
 UaProperty getMaxTrustListSizeNode()
           
 UaProperty getMulticastDnsEnabledNode()
           
 org.opcfoundation.ua.builtintypes.ByteString[] getRejectedList()
           
 String[] getServerCapabilities()
           
 UaProperty getServerCapabilitiesNode()
           
static GeneratedNodeInitializer<ServerConfigurationTypeNode> getServerConfigurationTypeNodeInitializer()
           
 String[] getSupportedPrivateKeyFormats()
           
 UaProperty getSupportedPrivateKeyFormatsNode()
           
static ServerConfigurationTypeUpdateCertificateMethod getUpdateCertificateMethodImplementation()
           
 UaMethod getUpdateCertificateNode()
           
 Boolean isMulticastDnsEnabled()
           
protected abstract  void onApplyChanges(ServiceContext serviceContext)
           
protected abstract  org.opcfoundation.ua.builtintypes.ByteString onCreateSigningRequest(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId certificateGroupId, org.opcfoundation.ua.builtintypes.NodeId certificateTypeId, String subjectName, Boolean regeneratePrivateKey, org.opcfoundation.ua.builtintypes.ByteString nonce)
           
protected abstract  org.opcfoundation.ua.builtintypes.ByteString[] onGetRejectedList(ServiceContext serviceContext)
           
protected abstract  Boolean onUpdateCertificate(ServiceContext serviceContext, org.opcfoundation.ua.builtintypes.NodeId certificateGroupId, org.opcfoundation.ua.builtintypes.NodeId certificateTypeId, org.opcfoundation.ua.builtintypes.ByteString certificate, org.opcfoundation.ua.builtintypes.ByteString[] issuerCertificates, String privateKeyFormat, org.opcfoundation.ua.builtintypes.ByteString privateKey)
           
static void setApplyChangesMethodImplementation(ServerConfigurationTypeApplyChangesMethod applyChangesMethodImplementationNewValue)
           
static void setCreateSigningRequestMethodImplementation(ServerConfigurationTypeCreateSigningRequestMethod createSigningRequestMethodImplementationNewValue)
           
static void setGetRejectedListMethodImplementation(ServerConfigurationTypeGetRejectedListMethod getRejectedListMethodImplementationNewValue)
           
 void setMaxTrustListSize(long value)
           
 void setMaxTrustListSize(org.opcfoundation.ua.builtintypes.UnsignedInteger value)
           
 void setMulticastDnsEnabled(Boolean value)
           
 void setServerCapabilities(String[] value)
           
static void setServerConfigurationTypeNodeInitializer(GeneratedNodeInitializer<ServerConfigurationTypeNode> serverConfigurationTypeNodeInitializerNewValue)
           
 void setSupportedPrivateKeyFormats(String[] value)
           
static void setUpdateCertificateMethodImplementation(ServerConfigurationTypeUpdateCertificateMethod updateCertificateMethodImplementationNewValue)
           
 Boolean updateCertificate(org.opcfoundation.ua.builtintypes.NodeId certificateGroupId, org.opcfoundation.ua.builtintypes.NodeId certificateTypeId, org.opcfoundation.ua.builtintypes.ByteString certificate, org.opcfoundation.ua.builtintypes.ByteString[] issuerCertificates, String privateKeyFormat, org.opcfoundation.ua.builtintypes.ByteString privateKey)
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
isCacheMethodIds, setCacheMethodIds
 
Methods inherited from class com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
afterCreateInitIfExists, afterCreateSetValueIfExists, callAfterCreateIfExists, getDefaultTypeDefinition, getQualifiedName, isComponentMatch
 
Methods inherited from class com.prosysopc.ua.server.nodes.UaObjectNode
addCallListener, callMethod, deleteIfNodeExists, getAttributes, getAttributes, getEventNotifier, getIcon, getNodeClass, initSupportedAttributes, readAttributeValue, removeCallListener, setAttributes, setEventNotifier, setIcon, toString, writeAttributeValue
 
Methods inherited from class com.prosysopc.ua.server.nodes.UaInstanceNode
addModellingRule, beforeAddReference, getTypeDefinition, getTypeDefinitionId, hasTypeDefinition, registerOverridePlainMethod, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId, supportsTypeDefinitionNode
 
Methods inherited from class com.prosysopc.ua.server.nodes.BaseNode
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeVersion, getNodeVersionValue, getProperties, getProperty, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, getUserWriteMask, getWriteMask, hasProperty, hasReference, hasUserWriteAccess, hasWriteAccess, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttribute, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, removeProperty, setAccessLevelRecursively, setAccessLevelRecursively, setAttribute, setBrowseName, setDescription, setDisplayName, setNodeVersionValue, setPropertyValue, setUserWriteMask, setWriteMask, writeAttribute
 
Methods inherited from class com.prosysopc.ua.server.nodes.ServerNode
addComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setReferences, supportsAttribute, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChain
 
Methods inherited from class com.prosysopc.ua.nodes.AbstractUaNode
getForwardReferences, getInverseReferences, getReferences, getReferences, referenceTypeInherits
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.prosysopc.ua.types.opcua.BaseInstanceType
getQualifiedName
 
Methods inherited from interface com.prosysopc.ua.nodes.UaObject
callMethod, getEventNotifier, getIcon, setEventNotifier, setIcon
 
Methods inherited from interface com.prosysopc.ua.nodes.UaInstance
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId
 
Methods inherited from interface com.prosysopc.ua.nodes.UaNode
addComponent, addProperty, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersion, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute
 

Constructor Detail

ServerConfigurationTypeNodeBase

protected ServerConfigurationTypeNodeBase(NodeManagerUaNode nodeManager,
                                          org.opcfoundation.ua.builtintypes.NodeId nodeId,
                                          org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                                          org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Method Detail

afterCreate

public void afterCreate()
Description copied from interface: GeneratedNode
This method is called after NodeBuilder has constructed the instance, it is called for every sub-node that also implement this interface

Specified by:
afterCreate in interface GeneratedNode
Overrides:
afterCreate in class BaseObjectTypeNode

getServerConfigurationTypeNodeInitializer

public static GeneratedNodeInitializer<ServerConfigurationTypeNode> getServerConfigurationTypeNodeInitializer()

setServerConfigurationTypeNodeInitializer

public static void setServerConfigurationTypeNodeInitializer(GeneratedNodeInitializer<ServerConfigurationTypeNode> serverConfigurationTypeNodeInitializerNewValue)

getServerCapabilitiesNode

public UaProperty getServerCapabilitiesNode()
Specified by:
getServerCapabilitiesNode in interface ServerConfigurationType

getServerCapabilities

public String[] getServerCapabilities()
Specified by:
getServerCapabilities in interface ServerConfigurationType

setServerCapabilities

public void setServerCapabilities(String[] value)
Specified by:
setServerCapabilities in interface ServerConfigurationType

getSupportedPrivateKeyFormatsNode

public UaProperty getSupportedPrivateKeyFormatsNode()
Specified by:
getSupportedPrivateKeyFormatsNode in interface ServerConfigurationType

getSupportedPrivateKeyFormats

public String[] getSupportedPrivateKeyFormats()
Specified by:
getSupportedPrivateKeyFormats in interface ServerConfigurationType

setSupportedPrivateKeyFormats

public void setSupportedPrivateKeyFormats(String[] value)
Specified by:
setSupportedPrivateKeyFormats in interface ServerConfigurationType

getMaxTrustListSizeNode

public UaProperty getMaxTrustListSizeNode()
Specified by:
getMaxTrustListSizeNode in interface ServerConfigurationType

getMaxTrustListSize

public org.opcfoundation.ua.builtintypes.UnsignedInteger getMaxTrustListSize()
Specified by:
getMaxTrustListSize in interface ServerConfigurationType

setMaxTrustListSize

public void setMaxTrustListSize(org.opcfoundation.ua.builtintypes.UnsignedInteger value)
Specified by:
setMaxTrustListSize in interface ServerConfigurationType

setMaxTrustListSize

public void setMaxTrustListSize(long value)

getMulticastDnsEnabledNode

public UaProperty getMulticastDnsEnabledNode()
Specified by:
getMulticastDnsEnabledNode in interface ServerConfigurationType

isMulticastDnsEnabled

public Boolean isMulticastDnsEnabled()
Specified by:
isMulticastDnsEnabled in interface ServerConfigurationType

setMulticastDnsEnabled

public void setMulticastDnsEnabled(Boolean value)
Specified by:
setMulticastDnsEnabled in interface ServerConfigurationType

getCertificateGroupsNode

public CertificateGroupFolderTypeNode getCertificateGroupsNode()
Specified by:
getCertificateGroupsNode in interface ServerConfigurationType

callMethod

public org.opcfoundation.ua.builtintypes.Variant[] callMethod(ServiceContext serviceContext,
                                                              org.opcfoundation.ua.builtintypes.NodeId methodId,
                                                              org.opcfoundation.ua.builtintypes.Variant[] inputArguments,
                                                              org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
                                                              org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
                                                       throws StatusException
Description copied from class: UaObjectNode
Fallback implementation when no subtype handles the method call.

Specified by:
callMethod in interface UaCallable
Overrides:
callMethod in class UaObjectNode
Returns:
Throws:
StatusException

getUpdateCertificateNode

public UaMethod getUpdateCertificateNode()
Specified by:
getUpdateCertificateNode in interface ServerConfigurationType

onUpdateCertificate

protected abstract Boolean onUpdateCertificate(ServiceContext serviceContext,
                                               org.opcfoundation.ua.builtintypes.NodeId certificateGroupId,
                                               org.opcfoundation.ua.builtintypes.NodeId certificateTypeId,
                                               org.opcfoundation.ua.builtintypes.ByteString certificate,
                                               org.opcfoundation.ua.builtintypes.ByteString[] issuerCertificates,
                                               String privateKeyFormat,
                                               org.opcfoundation.ua.builtintypes.ByteString privateKey)
                                        throws StatusException
Throws:
StatusException

updateCertificate

public Boolean updateCertificate(org.opcfoundation.ua.builtintypes.NodeId certificateGroupId,
                                 org.opcfoundation.ua.builtintypes.NodeId certificateTypeId,
                                 org.opcfoundation.ua.builtintypes.ByteString certificate,
                                 org.opcfoundation.ua.builtintypes.ByteString[] issuerCertificates,
                                 String privateKeyFormat,
                                 org.opcfoundation.ua.builtintypes.ByteString privateKey)
                          throws StatusException
Specified by:
updateCertificate in interface ServerConfigurationType
Throws:
StatusException

getUpdateCertificateMethodImplementation

public static ServerConfigurationTypeUpdateCertificateMethod getUpdateCertificateMethodImplementation()

setUpdateCertificateMethodImplementation

public static void setUpdateCertificateMethodImplementation(ServerConfigurationTypeUpdateCertificateMethod updateCertificateMethodImplementationNewValue)

getApplyChangesNode

public UaMethod getApplyChangesNode()
Specified by:
getApplyChangesNode in interface ServerConfigurationType

onApplyChanges

protected abstract void onApplyChanges(ServiceContext serviceContext)
                                throws StatusException
Throws:
StatusException

applyChanges

public void applyChanges()
                  throws StatusException
Specified by:
applyChanges in interface ServerConfigurationType
Throws:
StatusException

getApplyChangesMethodImplementation

public static ServerConfigurationTypeApplyChangesMethod getApplyChangesMethodImplementation()

setApplyChangesMethodImplementation

public static void setApplyChangesMethodImplementation(ServerConfigurationTypeApplyChangesMethod applyChangesMethodImplementationNewValue)

getCreateSigningRequestNode

public UaMethod getCreateSigningRequestNode()
Specified by:
getCreateSigningRequestNode in interface ServerConfigurationType

onCreateSigningRequest

protected abstract org.opcfoundation.ua.builtintypes.ByteString onCreateSigningRequest(ServiceContext serviceContext,
                                                                                       org.opcfoundation.ua.builtintypes.NodeId certificateGroupId,
                                                                                       org.opcfoundation.ua.builtintypes.NodeId certificateTypeId,
                                                                                       String subjectName,
                                                                                       Boolean regeneratePrivateKey,
                                                                                       org.opcfoundation.ua.builtintypes.ByteString nonce)
                                                                                throws StatusException
Throws:
StatusException

createSigningRequest

public org.opcfoundation.ua.builtintypes.ByteString createSigningRequest(org.opcfoundation.ua.builtintypes.NodeId certificateGroupId,
                                                                         org.opcfoundation.ua.builtintypes.NodeId certificateTypeId,
                                                                         String subjectName,
                                                                         Boolean regeneratePrivateKey,
                                                                         org.opcfoundation.ua.builtintypes.ByteString nonce)
                                                                  throws StatusException
Specified by:
createSigningRequest in interface ServerConfigurationType
Throws:
StatusException

getCreateSigningRequestMethodImplementation

public static ServerConfigurationTypeCreateSigningRequestMethod getCreateSigningRequestMethodImplementation()

setCreateSigningRequestMethodImplementation

public static void setCreateSigningRequestMethodImplementation(ServerConfigurationTypeCreateSigningRequestMethod createSigningRequestMethodImplementationNewValue)

getGetRejectedListNode

public UaMethod getGetRejectedListNode()
Specified by:
getGetRejectedListNode in interface ServerConfigurationType

onGetRejectedList

protected abstract org.opcfoundation.ua.builtintypes.ByteString[] onGetRejectedList(ServiceContext serviceContext)
                                                                             throws StatusException
Throws:
StatusException

getRejectedList

public org.opcfoundation.ua.builtintypes.ByteString[] getRejectedList()
                                                               throws StatusException
Specified by:
getRejectedList in interface ServerConfigurationType
Throws:
StatusException

getGetRejectedListMethodImplementation

public static ServerConfigurationTypeGetRejectedListMethod getGetRejectedListMethodImplementation()

setGetRejectedListMethodImplementation

public static void setGetRejectedListMethodImplementation(ServerConfigurationTypeGetRejectedListMethod getRejectedListMethodImplementationNewValue)


Copyright © 2018. All rights reserved.