|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.server.ServiceManagerBase
public abstract class ServiceManagerBase
This is a common base class for the various Service Managers hosted by a UaServer.
| Constructor Summary | |
|---|---|
ServiceManagerBase(UaServer server)
|
|
| Method Summary | ||
|---|---|---|
protected boolean |
arrayDimensionsMatch(org.opcfoundation.ua.builtintypes.Variant variant,
Integer valueRank,
org.opcfoundation.ua.builtintypes.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. Use checkIsValueNode(UaNode) |
|
protected boolean |
dataTypeEquals(org.opcfoundation.ua.builtintypes.Variant variant,
org.opcfoundation.ua.builtintypes.NodeId dataType)
|
|
UaNode |
getNode(org.opcfoundation.ua.builtintypes.ExpandedNodeId nodeId)
Convenience method for getNode(NodeId) that takes ExpandedNodeId instead of NodeId |
|
|
getNode(org.opcfoundation.ua.builtintypes.ExpandedNodeId nodeId,
Class<T> clazz)
Convenience method for getNode(ExpandedNodeId) that casts the result |
|
UaNode |
getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
Convenience method for getNodeManagerTable().getNode |
|
|
getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId,
Class<T> clazz)
Convenience method for getNode(NodeId) that casts the result |
|
NodeManagerTable |
getNodeManagerTable()
|
|
UaServer |
getServer()
|
|
protected SubscriptionManager |
getSubscriptionManager()
|
|
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()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceManagerBase(UaServer server)
nodeManager - | Method Detail |
|---|
public UaNode getNode(org.opcfoundation.ua.builtintypes.ExpandedNodeId nodeId)
throws StatusException
getNode(NodeId) that takes ExpandedNodeId instead of NodeId
StatusExceptiongetNode(NodeId)
public <T extends UaNode> T getNode(org.opcfoundation.ua.builtintypes.ExpandedNodeId nodeId,
Class<T> clazz)
throws StatusException
getNode(ExpandedNodeId) that casts the result
StatusExceptiongetNode(ExpandedNodeId)
public UaNode getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
throws StatusException
StatusExceptionNodeManagerTable.getNode(NodeId)
public <T extends UaNode> T getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId,
Class<T> clazz)
throws StatusException
getNode(NodeId) that casts the result
StatusExceptiongetNode(NodeId)public NodeManagerTable getNodeManagerTable()
public UaServer getServer()
protected boolean arrayDimensionsMatch(org.opcfoundation.ua.builtintypes.Variant variant,
Integer valueRank,
org.opcfoundation.ua.builtintypes.UnsignedInteger[] arrayDimensions)
variant - argument -
protected void checkIsMethod(UaNode node)
throws StatusException
node -
StatusException
protected void checkIsValueNode(UaNode node)
throws StatusException
node -
StatusException
protected void checkIsVariable(UaNode node)
throws StatusException
node -
StatusException
@Deprecated
protected void checkIsVariableOrVariableType(UaNode node)
throws StatusException
checkIsValueNode(UaNode)
node -
StatusException
protected boolean dataTypeEquals(org.opcfoundation.ua.builtintypes.Variant variant,
org.opcfoundation.ua.builtintypes.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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||