public abstract class ServiceManagerBase extends Object
| Constructor and Description |
|---|
ServiceManagerBase(UaServer server) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
arrayDimensionsMatch(Variant variant,
Integer valueRank,
UnsignedInteger[] arrayDimensions) |
protected void |
checkIsMethod(UaNode node) |
protected void |
checkIsValueNode(UaNode node)
Check if the node is a Variable or VariableType, which both implement UaValueNode.
|
protected void |
checkIsVariable(UaNode node)
Check if the node is a Variable.
|
protected void |
checkIsVariableOrVariableType(UaNode node)
Deprecated.
|
protected boolean |
dataTypeEquals(Variant variant,
NodeId dataType) |
UaNode |
getNode(ExpandedNodeId nodeId)
Convenience method for
getNode(NodeId) that takes ExpandedNodeId instead of NodeId |
<T extends UaNode> |
getNode(ExpandedNodeId nodeId,
Class<T> clazz)
Convenience method for
getNode(ExpandedNodeId) that casts the result |
UaNode |
getNode(NodeId nodeId)
Convenience method for getNodeManagerTable().getNode
|
<T extends UaNode> |
getNode(NodeId nodeId,
Class<T> clazz)
Convenience method for
getNode(NodeId) that casts the result |
NodeManagerTable |
getNodeManagerTable() |
UaServer |
getServer() |
protected SubscriptionManager |
getSubscriptionManager() |
void |
invalidatePreviousNodeCache()
Forces the invalidation of an internal cache, which stores the last accessed
UaNode, if
applicable for this ServiceManagerBase. |
protected boolean |
isValueNode(UaNode node) |
protected boolean |
isVariable(UaNode node) |
protected void |
listenerError(String listenerMethodName,
Object listener,
RuntimeException e)
Logs error in listeners - and rethrows the error.
|
protected boolean |
requireUaNode() |
public ServiceManagerBase(UaServer server)
nodeManager - public UaNode getNode(ExpandedNodeId nodeId) throws StatusException
getNode(NodeId) that takes ExpandedNodeId instead of NodeIdStatusExceptiongetNode(NodeId)public <T extends UaNode> T getNode(ExpandedNodeId nodeId, Class<T> clazz) throws StatusException
getNode(ExpandedNodeId) that casts the resultStatusExceptiongetNode(ExpandedNodeId)public UaNode getNode(NodeId nodeId) throws StatusException
StatusExceptionNodeManagerTable.getNode(NodeId)public <T extends UaNode> T getNode(NodeId nodeId, Class<T> clazz) throws StatusException
getNode(NodeId) that casts the resultStatusExceptiongetNode(NodeId)public NodeManagerTable getNodeManagerTable()
public UaServer getServer()
public void invalidatePreviousNodeCache()
UaNode, if
applicable for this ServiceManagerBase. Note that normally SDK handles and calls this
internally, but if an UaNode is removed without the use of SDK methods (like
NodeManagerUaNode.deleteNode(NodeId, boolean, boolean)), this should be called
manually.protected boolean arrayDimensionsMatch(Variant variant, Integer valueRank, UnsignedInteger[] arrayDimensions)
variant - argument - protected void checkIsMethod(UaNode node) throws StatusException
node - StatusExceptionprotected void checkIsValueNode(UaNode node) throws StatusException
node - StatusExceptionprotected void checkIsVariable(UaNode node) throws StatusException
node - StatusException@Deprecated protected void checkIsVariableOrVariableType(UaNode node) throws StatusException
checkIsValueNode(UaNode)node - StatusExceptionprotected boolean dataTypeEquals(Variant variant, NodeId dataType)
variant - dataType - protected SubscriptionManager getSubscriptionManager()
protected boolean isValueNode(UaNode node)
node - protected boolean isVariable(UaNode node)
node - protected void listenerError(String listenerMethodName, Object listener, RuntimeException e)
listenerMethodName - listener - e - protected boolean requireUaNode()
Copyright © 2026. All rights reserved.