public class MethodManagerUaNode extends MethodManager
| Constructor and Description |
|---|
MethodManagerUaNode(NodeManager nodeManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallListener(CallableListener listener) |
Variant[] |
callMethod(ServiceContext serviceContext,
NodeId objectId,
NodeId methodId,
Variant[] inputArguments,
StatusCode[] inputArgumentResults,
DiagnosticInfo[] inputArgumentDiagnosticInfos)
Handle a method call.
|
protected void |
checkInputArguments(Variant[] inputArguments,
StatusCode[] inputArgumentResults,
DiagnosticInfo[] inputArgumentDiagnosticInfos,
UaMethod method) |
protected void |
checkOutputArguments(Variant[] outputArguments,
UaMethod method) |
protected boolean |
fireCall(ServiceContext serviceContext,
Variant[] inputArguments,
StatusCode[] inputArgumentResults,
DiagnosticInfo[] inputArgumentDiagnosticInfos,
NodeId objectId,
UaNode node,
NodeId methodId,
UaMethod method,
Variant[] output) |
void |
removeCallListener(CallableListener listener) |
protected boolean |
requireUaNode() |
checkInputArguments, checkInputArguments, getNodeManagerarrayDimensionsMatch, checkIsMethod, checkIsValueNode, checkIsVariable, checkIsVariableOrVariableType, dataTypeEquals, getNode, getNode, getNode, getNode, getNodeManagerTable, getServer, getSubscriptionManager, invalidatePreviousNodeCache, isValueNode, isVariable, listenerErrorpublic MethodManagerUaNode(NodeManager nodeManager)
nodeManager - public void addCallListener(CallableListener listener)
public Variant[] callMethod(ServiceContext serviceContext, NodeId objectId, NodeId methodId, Variant[] inputArguments, StatusCode[] inputArgumentResults, DiagnosticInfo[] inputArgumentDiagnosticInfos) throws StatusException
MethodManagercallMethod in class MethodManagerserviceContext - the context of the callobjectId - The object to which method appliesmethodId - The method to callinputArguments - optional input argument valuesinputArgumentResults - room for argument errors. Fill in the array if you encounter errors
in the values.inputArgumentDiagnosticInfos - room for diagnostic info, in case of errors.StatusException - if the call failspublic void removeCallListener(CallableListener listener)
protected void checkInputArguments(Variant[] inputArguments, StatusCode[] inputArgumentResults, DiagnosticInfo[] inputArgumentDiagnosticInfos, UaMethod method) throws StatusException
inputArguments - inputArgumentResults - inputArgumentDiagnosticInfos - method - StatusExceptionprotected void checkOutputArguments(Variant[] outputArguments, UaMethod method) throws StatusException
outputArguments - method - StatusExceptionprotected boolean fireCall(ServiceContext serviceContext, Variant[] inputArguments, StatusCode[] inputArgumentResults, DiagnosticInfo[] inputArgumentDiagnosticInfos, NodeId objectId, UaNode node, NodeId methodId, UaMethod method, Variant[] output) throws StatusException
serviceContext - inputArguments - inputArgumentResults - inputArgumentDiagnosticInfos - objectId - node - methodId - method - output - StatusExceptionprotected boolean requireUaNode()
requireUaNode in class ServiceManagerBaseCopyright © 2026. All rights reserved.