com.prosysopc.ua.types.gds.server
Class DirectoryTypeNodeBase
java.lang.Object
com.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.server.nodes.ServerNode
com.prosysopc.ua.server.nodes.BaseNode
com.prosysopc.ua.server.nodes.UaInstanceNode
com.prosysopc.ua.server.nodes.UaObjectNode
com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
com.prosysopc.ua.types.opcua.server.FolderTypeNodeBase
com.prosysopc.ua.types.opcua.server.FolderTypeNode
com.prosysopc.ua.types.gds.server.DirectoryTypeNodeBase
- All Implemented Interfaces:
- UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, DirectoryType, BaseInstanceType, BaseObjectType, FolderType
- Direct Known Subclasses:
- DirectoryTypeNode
public abstract class DirectoryTypeNodeBase
- extends FolderTypeNode
- implements DirectoryType
Generated on 2018-05-09 10:46:27
|
Constructor Summary |
protected |
DirectoryTypeNodeBase(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 |
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. |
ApplicationRecordDataType[] |
findApplications(String applicationUri)
|
ApplicationRecordDataType |
getApplication(org.opcfoundation.ua.builtintypes.NodeId applicationId)
|
FolderTypeNode |
getApplicationsNode()
|
static GeneratedNodeInitializer<DirectoryTypeNode> |
getDirectoryTypeNodeInitializer()
|
static DirectoryTypeFindApplicationsMethod |
getFindApplicationsMethodImplementation()
|
UaMethod |
getFindApplicationsNode()
|
static DirectoryTypeGetApplicationMethod |
getGetApplicationMethodImplementation()
|
UaMethod |
getGetApplicationNode()
|
static DirectoryTypeQueryServersMethod |
getQueryServersMethodImplementation()
|
UaMethod |
getQueryServersNode()
|
static DirectoryTypeRegisterApplicationMethod |
getRegisterApplicationMethodImplementation()
|
UaMethod |
getRegisterApplicationNode()
|
static DirectoryTypeUnregisterApplicationMethod |
getUnregisterApplicationMethodImplementation()
|
UaMethod |
getUnregisterApplicationNode()
|
static DirectoryTypeUpdateApplicationMethod |
getUpdateApplicationMethodImplementation()
|
UaMethod |
getUpdateApplicationNode()
|
protected abstract ApplicationRecordDataType[] |
onFindApplications(ServiceContext serviceContext,
String applicationUri)
|
protected abstract ApplicationRecordDataType |
onGetApplication(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId applicationId)
|
protected abstract DirectoryType.QueryServersMethodOutputs |
onQueryServers(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger startingRecordId,
org.opcfoundation.ua.builtintypes.UnsignedInteger maxRecordsToReturn,
String applicationName,
String applicationUri,
String productUri,
String[] serverCapabilities)
|
protected abstract org.opcfoundation.ua.builtintypes.NodeId |
onRegisterApplication(ServiceContext serviceContext,
ApplicationRecordDataType application)
|
protected abstract void |
onUnregisterApplication(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId applicationId)
|
protected abstract void |
onUpdateApplication(ServiceContext serviceContext,
ApplicationRecordDataType application)
|
DirectoryType.QueryServersMethodOutputs |
queryServers(org.opcfoundation.ua.builtintypes.UnsignedInteger startingRecordId,
org.opcfoundation.ua.builtintypes.UnsignedInteger maxRecordsToReturn,
String applicationName,
String applicationUri,
String productUri,
String[] serverCapabilities)
|
org.opcfoundation.ua.builtintypes.NodeId |
registerApplication(ApplicationRecordDataType application)
|
static void |
setDirectoryTypeNodeInitializer(GeneratedNodeInitializer<DirectoryTypeNode> directoryTypeNodeInitializerNewValue)
|
static void |
setFindApplicationsMethodImplementation(DirectoryTypeFindApplicationsMethod findApplicationsMethodImplementationNewValue)
|
static void |
setGetApplicationMethodImplementation(DirectoryTypeGetApplicationMethod getApplicationMethodImplementationNewValue)
|
static void |
setQueryServersMethodImplementation(DirectoryTypeQueryServersMethod queryServersMethodImplementationNewValue)
|
static void |
setRegisterApplicationMethodImplementation(DirectoryTypeRegisterApplicationMethod registerApplicationMethodImplementationNewValue)
|
static void |
setUnregisterApplicationMethodImplementation(DirectoryTypeUnregisterApplicationMethod unregisterApplicationMethodImplementationNewValue)
|
static void |
setUpdateApplicationMethodImplementation(DirectoryTypeUpdateApplicationMethod updateApplicationMethodImplementationNewValue)
|
void |
unregisterApplication(org.opcfoundation.ua.builtintypes.NodeId applicationId)
|
void |
updateApplication(ApplicationRecordDataType application)
|
| 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.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 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 |
DirectoryTypeNodeBase
protected DirectoryTypeNodeBase(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
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 FolderTypeNode
getDirectoryTypeNodeInitializer
public static GeneratedNodeInitializer<DirectoryTypeNode> getDirectoryTypeNodeInitializer()
setDirectoryTypeNodeInitializer
public static void setDirectoryTypeNodeInitializer(GeneratedNodeInitializer<DirectoryTypeNode> directoryTypeNodeInitializerNewValue)
getApplicationsNode
public FolderTypeNode getApplicationsNode()
- Specified by:
getApplicationsNode in interface DirectoryType
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 FolderTypeNodeBase
- Returns:
-
- Throws:
StatusException
getFindApplicationsNode
public UaMethod getFindApplicationsNode()
- Specified by:
getFindApplicationsNode in interface DirectoryType
onFindApplications
protected abstract ApplicationRecordDataType[] onFindApplications(ServiceContext serviceContext,
String applicationUri)
throws StatusException
- Throws:
StatusException
findApplications
public ApplicationRecordDataType[] findApplications(String applicationUri)
throws StatusException
- Specified by:
findApplications in interface DirectoryType
- Throws:
StatusException
getFindApplicationsMethodImplementation
public static DirectoryTypeFindApplicationsMethod getFindApplicationsMethodImplementation()
setFindApplicationsMethodImplementation
public static void setFindApplicationsMethodImplementation(DirectoryTypeFindApplicationsMethod findApplicationsMethodImplementationNewValue)
getRegisterApplicationNode
public UaMethod getRegisterApplicationNode()
- Specified by:
getRegisterApplicationNode in interface DirectoryType
onRegisterApplication
protected abstract org.opcfoundation.ua.builtintypes.NodeId onRegisterApplication(ServiceContext serviceContext,
ApplicationRecordDataType application)
throws StatusException
- Throws:
StatusException
registerApplication
public org.opcfoundation.ua.builtintypes.NodeId registerApplication(ApplicationRecordDataType application)
throws StatusException
- Specified by:
registerApplication in interface DirectoryType
- Throws:
StatusException
getRegisterApplicationMethodImplementation
public static DirectoryTypeRegisterApplicationMethod getRegisterApplicationMethodImplementation()
setRegisterApplicationMethodImplementation
public static void setRegisterApplicationMethodImplementation(DirectoryTypeRegisterApplicationMethod registerApplicationMethodImplementationNewValue)
getUpdateApplicationNode
public UaMethod getUpdateApplicationNode()
- Specified by:
getUpdateApplicationNode in interface DirectoryType
onUpdateApplication
protected abstract void onUpdateApplication(ServiceContext serviceContext,
ApplicationRecordDataType application)
throws StatusException
- Throws:
StatusException
updateApplication
public void updateApplication(ApplicationRecordDataType application)
throws StatusException
- Specified by:
updateApplication in interface DirectoryType
- Throws:
StatusException
getUpdateApplicationMethodImplementation
public static DirectoryTypeUpdateApplicationMethod getUpdateApplicationMethodImplementation()
setUpdateApplicationMethodImplementation
public static void setUpdateApplicationMethodImplementation(DirectoryTypeUpdateApplicationMethod updateApplicationMethodImplementationNewValue)
getUnregisterApplicationNode
public UaMethod getUnregisterApplicationNode()
- Specified by:
getUnregisterApplicationNode in interface DirectoryType
onUnregisterApplication
protected abstract void onUnregisterApplication(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId applicationId)
throws StatusException
- Throws:
StatusException
unregisterApplication
public void unregisterApplication(org.opcfoundation.ua.builtintypes.NodeId applicationId)
throws StatusException
- Specified by:
unregisterApplication in interface DirectoryType
- Throws:
StatusException
getUnregisterApplicationMethodImplementation
public static DirectoryTypeUnregisterApplicationMethod getUnregisterApplicationMethodImplementation()
setUnregisterApplicationMethodImplementation
public static void setUnregisterApplicationMethodImplementation(DirectoryTypeUnregisterApplicationMethod unregisterApplicationMethodImplementationNewValue)
getGetApplicationNode
public UaMethod getGetApplicationNode()
- Specified by:
getGetApplicationNode in interface DirectoryType
onGetApplication
protected abstract ApplicationRecordDataType onGetApplication(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId applicationId)
throws StatusException
- Throws:
StatusException
getApplication
public ApplicationRecordDataType getApplication(org.opcfoundation.ua.builtintypes.NodeId applicationId)
throws StatusException
- Specified by:
getApplication in interface DirectoryType
- Throws:
StatusException
getGetApplicationMethodImplementation
public static DirectoryTypeGetApplicationMethod getGetApplicationMethodImplementation()
setGetApplicationMethodImplementation
public static void setGetApplicationMethodImplementation(DirectoryTypeGetApplicationMethod getApplicationMethodImplementationNewValue)
getQueryServersNode
public UaMethod getQueryServersNode()
- Specified by:
getQueryServersNode in interface DirectoryType
onQueryServers
protected abstract DirectoryType.QueryServersMethodOutputs onQueryServers(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger startingRecordId,
org.opcfoundation.ua.builtintypes.UnsignedInteger maxRecordsToReturn,
String applicationName,
String applicationUri,
String productUri,
String[] serverCapabilities)
throws StatusException
- Throws:
StatusException
queryServers
public DirectoryType.QueryServersMethodOutputs queryServers(org.opcfoundation.ua.builtintypes.UnsignedInteger startingRecordId,
org.opcfoundation.ua.builtintypes.UnsignedInteger maxRecordsToReturn,
String applicationName,
String applicationUri,
String productUri,
String[] serverCapabilities)
throws StatusException
- Specified by:
queryServers in interface DirectoryType
- Throws:
StatusException
getQueryServersMethodImplementation
public static DirectoryTypeQueryServersMethod getQueryServersMethodImplementation()
setQueryServersMethodImplementation
public static void setQueryServersMethodImplementation(DirectoryTypeQueryServersMethod queryServersMethodImplementationNewValue)
Copyright © 2018. All rights reserved.