C# Class Opc.Ua.Com.Client.ComAeSubscriptionClient

Browses areas and sources in the AE server.
Inheritance: ComObject
Mostrar archivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
AddItem ( MonitoredItem monitoredItem ) : void

Adds an item to a subscription.

ComAeSubscriptionClient ( ServerSystemContext context, ComAeClientConfiguration configuration, AeTypeCache cache, ushort namespaceIndex, ComAeClientManager manager, MonitoredItem monitoredItem ) : System

Initializes a new instance of the ComAeSubscriptionClient class.

Create ( ) : void

Creates the subscription.

Delete ( ) : void

Deletes the subscription.

OnEvent ( OpcRcw.Ae.ONEVENTSTRUCT events ) : void

Called when events arrive from the server.

OnRefresh ( OpcRcw.Ae.ONEVENTSTRUCT events, bool lastRefresh ) : void

Called when refresh events arrive from the server.

Refresh ( List events ) : void

Refreshes the conditions monitored by the subscription.

RemoveItem ( MonitoredItem monitoredItem ) : int

Removes an item from the subscription.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

ReleaseServer ( ) : void

Releases all references to the server.

Private Methods

Method Description
CancelRefresh ( ) : bool

Cancels the refresh for all conditions.

DispatchEvent ( OpcRcw.Ae.ONEVENTSTRUCT e ) : BaseEventState

Dispatches the event.

Refresh ( ) : bool

Refreshes all conditions.

SelectReturnedAttributes ( int categoryId, int attributeIds ) : bool

Selects the returned attributes.

SetFilter ( string qualifiedName, bool isSource ) : bool

Sets the filter.

UpdateAlarm ( AlarmConditionState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the condition event.

UpdateAuditEvent ( AuditEventState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the audit event.

UpdateBaseEvent ( BaseEventState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the base event.

UpdateExclusiveLimitAlarm ( ExclusiveLimitAlarmState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the exclusive limit alarm event.

UpdateNonExclusiveLimitAlarm ( NonExclusiveLimitAlarmState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the non-exclusive limit event.

Method Details

AddItem() public method

Adds an item to a subscription.
public AddItem ( MonitoredItem monitoredItem ) : void
monitoredItem Opc.Ua.Server.MonitoredItem
return void

ComAeSubscriptionClient() public method

Initializes a new instance of the ComAeSubscriptionClient class.
public ComAeSubscriptionClient ( ServerSystemContext context, ComAeClientConfiguration configuration, AeTypeCache cache, ushort namespaceIndex, ComAeClientManager manager, MonitoredItem monitoredItem ) : System
context Opc.Ua.Server.ServerSystemContext The context.
configuration ComAeClientConfiguration The configuration.
cache AeTypeCache The cache for known types.
namespaceIndex ushort The namespace index for the event types.
manager ComAeClientManager The manager.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
return System

Create() public method

Creates the subscription.
public Create ( ) : void
return void

Delete() public method

Deletes the subscription.
public Delete ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnEvent() public method

Called when events arrive from the server.
public OnEvent ( OpcRcw.Ae.ONEVENTSTRUCT events ) : void
events OpcRcw.Ae.ONEVENTSTRUCT The events.
return void

OnRefresh() public method

Called when refresh events arrive from the server.
public OnRefresh ( OpcRcw.Ae.ONEVENTSTRUCT events, bool lastRefresh ) : void
events OpcRcw.Ae.ONEVENTSTRUCT The events.
lastRefresh bool if set to true if the refresh is complete.
return void

Refresh() public method

Refreshes the conditions monitored by the subscription.
public Refresh ( List events ) : void
events List The events.
return void

ReleaseServer() protected method

Releases all references to the server.
protected ReleaseServer ( ) : void
return void

RemoveItem() public method

Removes an item from the subscription.
public RemoveItem ( MonitoredItem monitoredItem ) : int
monitoredItem Opc.Ua.Server.MonitoredItem
return int