C# Class Opc.Ua.Client.MonitoredItemEventCache

Saves the events received from the srever.
Show file Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
MonitoredItemEventCache ( int queueSize ) : System

Constructs a cache for a monitored item.

OnNotification ( EventFieldList notification ) : void

Saves a notification in the cache.

Publish ( ) : IList

Returns all events in the queue.

SetQueueSize ( int queueSize ) : void

Changes the queue size.

Method Details

MonitoredItemEventCache() public method

Constructs a cache for a monitored item.
public MonitoredItemEventCache ( int queueSize ) : System
queueSize int
return System

OnNotification() public method

Saves a notification in the cache.
public OnNotification ( EventFieldList notification ) : void
notification EventFieldList
return void

Publish() public method

Returns all events in the queue.
public Publish ( ) : IList
return IList

SetQueueSize() public method

Changes the queue size.
public SetQueueSize ( int queueSize ) : void
queueSize int
return void