|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.NodeMap
com.prosysopc.ua.server.NodeMapUaNode
public class NodeMapUaNode
Server side implementation of the node map, which is used to keep and provide node objects per NodeId.
| Field Summary |
|---|
| Fields inherited from class com.prosysopc.ua.NodeMap |
|---|
defaultLocale, nodeFactory |
| Constructor Summary | |
|---|---|
NodeMapUaNode(UaNodeFactory nodeFactory)
Create the NodeMap with a default map, which is ConcurrentSkipListMap. |
|
NodeMapUaNode(UaNodeFactory nodeFactory,
Map<org.opcfoundation.ua.builtintypes.NodeId,UaNode> map)
|
|
| Method Summary | |
|---|---|
UaNode |
addNode(UaNode node)
|
void |
clear()
Clear the node map of all entries. |
Map<org.opcfoundation.ua.builtintypes.NodeId,UaNode> |
getMap()
Returns the internal map. |
UaNode |
getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
|
boolean |
hasNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
Check if the map contains a node with the specified NodeId. |
UaNode |
remove(org.opcfoundation.ua.builtintypes.NodeId nodeId)
Remove a node from the node map. |
| Methods inherited from class com.prosysopc.ua.NodeMap |
|---|
addType, addType, getNodeFactory, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeMapUaNode(UaNodeFactory nodeFactory)
ConcurrentSkipListMap. It will keep the
nodes in NodeId order.
nodeFactory -
public NodeMapUaNode(UaNodeFactory nodeFactory,
Map<org.opcfoundation.ua.builtintypes.NodeId,UaNode> map)
| Method Detail |
|---|
public UaNode addNode(UaNode node)
addNode in class NodeMappublic void clear()
NodeMap
clear in class NodeMappublic Map<org.opcfoundation.ua.builtintypes.NodeId,UaNode> getMap()
public UaNode getNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
getNode in class NodeMappublic boolean hasNode(org.opcfoundation.ua.builtintypes.NodeId nodeId)
NodeMap
hasNode in class NodeMapnodeId - the ID to check
public UaNode remove(org.opcfoundation.ua.builtintypes.NodeId nodeId)
NodeMap
remove in class NodeMapnodeId - the node to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||