diff --git a/Libraries/Opc.Ua.Server/Diagnostics/CustomNodeManager.cs b/Libraries/Opc.Ua.Server/Diagnostics/CustomNodeManager.cs index bd6663d1f..f2b8b7b83 100644 --- a/Libraries/Opc.Ua.Server/Diagnostics/CustomNodeManager.cs +++ b/Libraries/Opc.Ua.Server/Diagnostics/CustomNodeManager.cs @@ -102,10 +102,6 @@ protected CustomNodeManager2( } } - // create the table of monitored items. - // these are items created by clients when they subscribe to data or events. - m_monitoredItems = new Dictionary(); - // create the table of monitored nodes. // these are created by the node manager whenever a client subscribe to an attribute of the node. m_monitoredNodes = new Dictionary(); @@ -237,14 +233,6 @@ protected List RootNotifiers get { return m_rootNotifiers; } } - /// - /// Gets the table of monitored items. - /// - protected Dictionary MonitoredItems - { - get { return m_monitoredItems; } - } - /// /// Gets the table of nodes being monitored. /// @@ -3706,7 +3694,6 @@ protected virtual ServiceResult CreateMonitoredItem( monitoredItem = datachangeItem; // save the monitored item. - m_monitoredItems.Add(monitoredItemId, datachangeItem); monitoredNode.Add(datachangeItem); // report change. @@ -4259,9 +4246,6 @@ protected virtual ServiceResult DeleteMonitoredItem( } } - // remove the monitored item. - m_monitoredItems.Remove(monitoredItem.Id); - // report change. OnMonitoredItemDeleted(context, handle, datachangeItem); @@ -4777,7 +4761,6 @@ protected NodeState AddNodeToComponentCache(ISystemContext context, NodeHandle h private ServerSystemContext m_systemContext; private string[] m_namespaceUris; private ushort[] m_namespaceIndexes; - private Dictionary m_monitoredItems; private Dictionary m_monitoredNodes; private Dictionary m_componentCache; private NodeIdDictionary m_predefinedNodes;