com.prosysopc.ua.types.opcua.server
Class ServerTypeNodeBase
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.ServerTypeNodeBase
- All Implemented Interfaces:
- UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseInstanceType, BaseObjectType, ServerType
- Direct Known Subclasses:
- ServerTypeNode
public abstract class ServerTypeNodeBase
- extends BaseObjectTypeNode
- implements ServerType
Specifies the current status and capabilities of the server.
Generated on 2018-05-09 10:46:24
| Fields inherited from interface com.prosysopc.ua.types.opcua.ServerType |
AUDITING, ESTIMATED_RETURN_TIME, GET_MONITORED_ITEMS, NAMESPACE_ARRAY, NAMESPACES, REQUEST_SERVER_STATE_CHANGE, RESEND_DATA, SERVER_ARRAY, SERVER_CAPABILITIES, SERVER_DIAGNOSTICS, SERVER_REDUNDANCY, SERVER_STATUS, SERVICE_LEVEL, SET_SUBSCRIPTION_DURABLE, VENDOR_SERVER_INFO |
|
Constructor Summary |
protected |
ServerTypeNodeBase(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. |
UaProperty |
getAuditingNode()
|
org.opcfoundation.ua.builtintypes.DateTime |
getEstimatedReturnTime()
|
UaProperty |
getEstimatedReturnTimeNode()
|
static ServerTypeGetMonitoredItemsMethod |
getGetMonitoredItemsMethodImplementation()
|
UaMethod |
getGetMonitoredItemsNode()
|
ServerType.GetMonitoredItemsMethodOutputs |
getMonitoredItems(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
|
String[] |
getNamespaceArray()
|
UaProperty |
getNamespaceArrayNode()
|
NamespacesTypeNode |
getNamespacesNode()
|
static ServerTypeRequestServerStateChangeMethod |
getRequestServerStateChangeMethodImplementation()
|
UaMethod |
getRequestServerStateChangeNode()
|
static ServerTypeResendDataMethod |
getResendDataMethodImplementation()
|
UaMethod |
getResendDataNode()
|
String[] |
getServerArray()
|
UaProperty |
getServerArrayNode()
|
ServerCapabilitiesTypeNode |
getServerCapabilitiesNode()
|
ServerDiagnosticsTypeNode |
getServerDiagnosticsNode()
|
ServerRedundancyTypeNode |
getServerRedundancyNode()
|
org.opcfoundation.ua.core.ServerStatusDataType |
getServerStatus()
|
ServerStatusTypeNode |
getServerStatusNode()
|
static GeneratedNodeInitializer<ServerTypeNode> |
getServerTypeNodeInitializer()
|
org.opcfoundation.ua.builtintypes.UnsignedByte |
getServiceLevel()
|
UaProperty |
getServiceLevelNode()
|
static ServerTypeSetSubscriptionDurableMethod |
getSetSubscriptionDurableMethodImplementation()
|
UaMethod |
getSetSubscriptionDurableNode()
|
VendorServerInfoTypeNode |
getVendorServerInfoNode()
|
Boolean |
isAuditing()
|
protected abstract ServerType.GetMonitoredItemsMethodOutputs |
onGetMonitoredItems(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
|
protected abstract void |
onRequestServerStateChange(ServiceContext serviceContext,
org.opcfoundation.ua.core.ServerState state,
org.opcfoundation.ua.builtintypes.DateTime estimatedReturnTime,
org.opcfoundation.ua.builtintypes.UnsignedInteger secondsTillShutdown,
org.opcfoundation.ua.builtintypes.LocalizedText reason,
Boolean restart)
|
protected abstract void |
onResendData(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
|
protected abstract org.opcfoundation.ua.builtintypes.UnsignedInteger |
onSetSubscriptionDurable(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId,
org.opcfoundation.ua.builtintypes.UnsignedInteger lifetimeInHours)
|
void |
requestServerStateChange(org.opcfoundation.ua.core.ServerState state,
org.opcfoundation.ua.builtintypes.DateTime estimatedReturnTime,
org.opcfoundation.ua.builtintypes.UnsignedInteger secondsTillShutdown,
org.opcfoundation.ua.builtintypes.LocalizedText reason,
Boolean restart)
|
void |
resendData(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
|
void |
setAuditing(Boolean value)
|
void |
setEstimatedReturnTime(org.opcfoundation.ua.builtintypes.DateTime value)
|
static void |
setGetMonitoredItemsMethodImplementation(ServerTypeGetMonitoredItemsMethod getMonitoredItemsMethodImplementationNewValue)
|
void |
setNamespaceArray(String[] value)
|
static void |
setRequestServerStateChangeMethodImplementation(ServerTypeRequestServerStateChangeMethod requestServerStateChangeMethodImplementationNewValue)
|
static void |
setResendDataMethodImplementation(ServerTypeResendDataMethod resendDataMethodImplementationNewValue)
|
void |
setServerArray(String[] value)
|
void |
setServerStatus(org.opcfoundation.ua.core.ServerStatusDataType value)
|
static void |
setServerTypeNodeInitializer(GeneratedNodeInitializer<ServerTypeNode> serverTypeNodeInitializerNewValue)
|
void |
setServiceLevel(int value)
|
void |
setServiceLevel(org.opcfoundation.ua.builtintypes.UnsignedByte value)
|
static void |
setSetSubscriptionDurableMethodImplementation(ServerTypeSetSubscriptionDurableMethod setSubscriptionDurableMethodImplementationNewValue)
|
org.opcfoundation.ua.builtintypes.UnsignedInteger |
setSubscriptionDurable(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId,
org.opcfoundation.ua.builtintypes.UnsignedInteger lifetimeInHours)
|
| 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 |
ServerTypeNodeBase
protected ServerTypeNodeBase(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 BaseObjectTypeNode
getServerTypeNodeInitializer
public static GeneratedNodeInitializer<ServerTypeNode> getServerTypeNodeInitializer()
setServerTypeNodeInitializer
public static void setServerTypeNodeInitializer(GeneratedNodeInitializer<ServerTypeNode> serverTypeNodeInitializerNewValue)
getServerArrayNode
public UaProperty getServerArrayNode()
- Specified by:
getServerArrayNode in interface ServerType
getServerArray
public String[] getServerArray()
- Specified by:
getServerArray in interface ServerType
setServerArray
public void setServerArray(String[] value)
- Specified by:
setServerArray in interface ServerType
getNamespaceArrayNode
public UaProperty getNamespaceArrayNode()
- Specified by:
getNamespaceArrayNode in interface ServerType
getNamespaceArray
public String[] getNamespaceArray()
- Specified by:
getNamespaceArray in interface ServerType
setNamespaceArray
public void setNamespaceArray(String[] value)
- Specified by:
setNamespaceArray in interface ServerType
getServiceLevelNode
public UaProperty getServiceLevelNode()
- Specified by:
getServiceLevelNode in interface ServerType
getServiceLevel
public org.opcfoundation.ua.builtintypes.UnsignedByte getServiceLevel()
- Specified by:
getServiceLevel in interface ServerType
setServiceLevel
public void setServiceLevel(org.opcfoundation.ua.builtintypes.UnsignedByte value)
- Specified by:
setServiceLevel in interface ServerType
setServiceLevel
public void setServiceLevel(int value)
getAuditingNode
public UaProperty getAuditingNode()
- Specified by:
getAuditingNode in interface ServerType
isAuditing
public Boolean isAuditing()
- Specified by:
isAuditing in interface ServerType
setAuditing
public void setAuditing(Boolean value)
- Specified by:
setAuditing in interface ServerType
getEstimatedReturnTimeNode
public UaProperty getEstimatedReturnTimeNode()
- Specified by:
getEstimatedReturnTimeNode in interface ServerType
getEstimatedReturnTime
public org.opcfoundation.ua.builtintypes.DateTime getEstimatedReturnTime()
- Specified by:
getEstimatedReturnTime in interface ServerType
setEstimatedReturnTime
public void setEstimatedReturnTime(org.opcfoundation.ua.builtintypes.DateTime value)
- Specified by:
setEstimatedReturnTime in interface ServerType
getServerStatusNode
public ServerStatusTypeNode getServerStatusNode()
- Specified by:
getServerStatusNode in interface ServerType
getServerStatus
public org.opcfoundation.ua.core.ServerStatusDataType getServerStatus()
- Specified by:
getServerStatus in interface ServerType
setServerStatus
public void setServerStatus(org.opcfoundation.ua.core.ServerStatusDataType value)
- Specified by:
setServerStatus in interface ServerType
getServerCapabilitiesNode
public ServerCapabilitiesTypeNode getServerCapabilitiesNode()
- Specified by:
getServerCapabilitiesNode in interface ServerType
getServerDiagnosticsNode
public ServerDiagnosticsTypeNode getServerDiagnosticsNode()
- Specified by:
getServerDiagnosticsNode in interface ServerType
getVendorServerInfoNode
public VendorServerInfoTypeNode getVendorServerInfoNode()
- Specified by:
getVendorServerInfoNode in interface ServerType
getServerRedundancyNode
public ServerRedundancyTypeNode getServerRedundancyNode()
- Specified by:
getServerRedundancyNode in interface ServerType
getNamespacesNode
public NamespacesTypeNode getNamespacesNode()
- Specified by:
getNamespacesNode in interface ServerType
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
getGetMonitoredItemsNode
public UaMethod getGetMonitoredItemsNode()
- Specified by:
getGetMonitoredItemsNode in interface ServerType
onGetMonitoredItems
protected abstract ServerType.GetMonitoredItemsMethodOutputs onGetMonitoredItems(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
throws StatusException
- Throws:
StatusException
getMonitoredItems
public ServerType.GetMonitoredItemsMethodOutputs getMonitoredItems(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
throws StatusException
- Specified by:
getMonitoredItems in interface ServerType
- Throws:
StatusException
getGetMonitoredItemsMethodImplementation
public static ServerTypeGetMonitoredItemsMethod getGetMonitoredItemsMethodImplementation()
setGetMonitoredItemsMethodImplementation
public static void setGetMonitoredItemsMethodImplementation(ServerTypeGetMonitoredItemsMethod getMonitoredItemsMethodImplementationNewValue)
getResendDataNode
public UaMethod getResendDataNode()
- Specified by:
getResendDataNode in interface ServerType
onResendData
protected abstract void onResendData(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
throws StatusException
- Throws:
StatusException
resendData
public void resendData(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId)
throws StatusException
- Specified by:
resendData in interface ServerType
- Throws:
StatusException
getResendDataMethodImplementation
public static ServerTypeResendDataMethod getResendDataMethodImplementation()
setResendDataMethodImplementation
public static void setResendDataMethodImplementation(ServerTypeResendDataMethod resendDataMethodImplementationNewValue)
getSetSubscriptionDurableNode
public UaMethod getSetSubscriptionDurableNode()
- Specified by:
getSetSubscriptionDurableNode in interface ServerType
onSetSubscriptionDurable
protected abstract org.opcfoundation.ua.builtintypes.UnsignedInteger onSetSubscriptionDurable(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId,
org.opcfoundation.ua.builtintypes.UnsignedInteger lifetimeInHours)
throws StatusException
- Throws:
StatusException
setSubscriptionDurable
public org.opcfoundation.ua.builtintypes.UnsignedInteger setSubscriptionDurable(org.opcfoundation.ua.builtintypes.UnsignedInteger subscriptionId,
org.opcfoundation.ua.builtintypes.UnsignedInteger lifetimeInHours)
throws StatusException
- Specified by:
setSubscriptionDurable in interface ServerType
- Throws:
StatusException
getSetSubscriptionDurableMethodImplementation
public static ServerTypeSetSubscriptionDurableMethod getSetSubscriptionDurableMethodImplementation()
setSetSubscriptionDurableMethodImplementation
public static void setSetSubscriptionDurableMethodImplementation(ServerTypeSetSubscriptionDurableMethod setSubscriptionDurableMethodImplementationNewValue)
getRequestServerStateChangeNode
public UaMethod getRequestServerStateChangeNode()
- Specified by:
getRequestServerStateChangeNode in interface ServerType
onRequestServerStateChange
protected abstract void onRequestServerStateChange(ServiceContext serviceContext,
org.opcfoundation.ua.core.ServerState state,
org.opcfoundation.ua.builtintypes.DateTime estimatedReturnTime,
org.opcfoundation.ua.builtintypes.UnsignedInteger secondsTillShutdown,
org.opcfoundation.ua.builtintypes.LocalizedText reason,
Boolean restart)
throws StatusException
- Throws:
StatusException
requestServerStateChange
public void requestServerStateChange(org.opcfoundation.ua.core.ServerState state,
org.opcfoundation.ua.builtintypes.DateTime estimatedReturnTime,
org.opcfoundation.ua.builtintypes.UnsignedInteger secondsTillShutdown,
org.opcfoundation.ua.builtintypes.LocalizedText reason,
Boolean restart)
throws StatusException
- Specified by:
requestServerStateChange in interface ServerType
- Throws:
StatusException
getRequestServerStateChangeMethodImplementation
public static ServerTypeRequestServerStateChangeMethod getRequestServerStateChangeMethodImplementation()
setRequestServerStateChangeMethodImplementation
public static void setRequestServerStateChangeMethodImplementation(ServerTypeRequestServerStateChangeMethod requestServerStateChangeMethodImplementationNewValue)
Copyright © 2018. All rights reserved.