@@ -102,10 +102,6 @@ protected CustomNodeManager2(
102
102
}
103
103
}
104
104
105
- // create the table of monitored items.
106
- // these are items created by clients when they subscribe to data or events.
107
- m_monitoredItems = new Dictionary < uint , IDataChangeMonitoredItem > ( ) ;
108
-
109
105
// create the table of monitored nodes.
110
106
// these are created by the node manager whenever a client subscribe to an attribute of the node.
111
107
m_monitoredNodes = new Dictionary < NodeId , MonitoredNode2 > ( ) ;
@@ -237,14 +233,6 @@ protected List<NodeState> RootNotifiers
237
233
get { return m_rootNotifiers ; }
238
234
}
239
235
240
- /// <summary>
241
- /// Gets the table of monitored items.
242
- /// </summary>
243
- protected Dictionary < uint , IDataChangeMonitoredItem > MonitoredItems
244
- {
245
- get { return m_monitoredItems ; }
246
- }
247
-
248
236
/// <summary>
249
237
/// Gets the table of nodes being monitored.
250
238
/// </summary>
@@ -3706,7 +3694,6 @@ protected virtual ServiceResult CreateMonitoredItem(
3706
3694
monitoredItem = datachangeItem ;
3707
3695
3708
3696
// save the monitored item.
3709
- m_monitoredItems . Add ( monitoredItemId , datachangeItem ) ;
3710
3697
monitoredNode . Add ( datachangeItem ) ;
3711
3698
3712
3699
// report change.
@@ -4259,9 +4246,6 @@ protected virtual ServiceResult DeleteMonitoredItem(
4259
4246
}
4260
4247
}
4261
4248
4262
- // remove the monitored item.
4263
- m_monitoredItems . Remove ( monitoredItem . Id ) ;
4264
-
4265
4249
// report change.
4266
4250
OnMonitoredItemDeleted ( context , handle , datachangeItem ) ;
4267
4251
@@ -4777,7 +4761,6 @@ protected NodeState AddNodeToComponentCache(ISystemContext context, NodeHandle h
4777
4761
private ServerSystemContext m_systemContext ;
4778
4762
private string [ ] m_namespaceUris ;
4779
4763
private ushort [ ] m_namespaceIndexes ;
4780
- private Dictionary < uint , IDataChangeMonitoredItem > m_monitoredItems ;
4781
4764
private Dictionary < NodeId , MonitoredNode2 > m_monitoredNodes ;
4782
4765
private Dictionary < NodeId , CacheEntry > m_componentCache ;
4783
4766
private NodeIdDictionary < NodeState > m_predefinedNodes ;
0 commit comments