Opc.Ua.Sample.MonitoredNode.OnReportEvent C# (CSharp) Method

OnReportEvent() public method

Handles events reported by the node.
public OnReportEvent ( ISystemContext context, NodeState state, IFilterTarget e ) : void
context ISystemContext The system context.
state NodeState The node that raised the event.
e IFilterTarget The event to report.
return void
        public void OnReportEvent(ISystemContext context, NodeState state, IFilterTarget e)
        {
            if (m_eventSubscriptions != null)
            {
                for (int ii = 0; ii < m_eventSubscriptions.Count; ii++)
                {
                    m_eventSubscriptions[ii].QueueEvent(e);
                }
            }
        }