C# Class Opc.Ua.Com.Server.ComAe2Subscription

A base class for classes that implement an OPC COM specification.
Inheritance: IDisposable
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
ApplyChanges ( ) : void

Applies any changes to the subscription.

CancelRefresh ( ) : void

Cancels a previous refresh.

ComAe2Subscription ( ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper, ComAe2Browser browser, AeConditionManager conditionManager ) : System

Initializes a new instance of the ComHdaBrowser class.

Dispose ( ) : void

Frees any unmanaged resources.

GetFilter ( int &eventTypes, ushort &lowSeverity, ushort &highSeverity, uint &categoryIds, string &areas, string &sources ) : void

Get the event filter parameters.

GetSelectedAttributes ( uint categoryId ) : uint[]

Returns the currently selected attributes.

OnSessionReconected ( Session session ) : void

Updates the object after a reconnect.

Refresh ( ) : void

Initiates of refresh of all conditions.

SelectAttributes ( uint categoryId, uint attributeIds ) : void

Selects the attributes for the event category.

SetCallback ( IComAeEventCallback callback ) : void

Sets the callback.

SetFilter ( int eventTypes, ushort lowSeverity, ushort highSeverity, uint categoryIds, string areas, string sources ) : void

Sets the event filter.

SetKeepAlive ( uint keepAlive ) : uint

Sets the keep alive rate.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Méthode Description
CreateMonitoredItem ( NodeId notifierId ) : MonitoredItem

Creates a new monitored item and adds it to the subscription.

CreateSubscription ( ) : void

Creates the subscription.

DoProcessQueue ( object state ) : void

Called send events to client.

DoRefresh ( object state ) : void

Cslled to send refresh events to client.

ModifySubscription ( ) : void

Modifies a subscription.

OnEventNotification ( Subscription subscription, EventNotificationList notification, IList stringTable ) : void
SendInBlocks ( IComAeEventCallback callback, Queue events, uint blockSize, bool refreshFlag ) : void

Sends the queued events in blocks.

ThrowIfDisposed ( ) : void

Throws if disposed.

Translate ( AeEvent e ) : OpcRcw.Ae.ONEVENTSTRUCT

Marshals an event for return to the client.

UpdateAreaFilter ( List areas ) : void

Updates the list of area filters.

UpdateSourceFilter ( List sources ) : void

Updates the list of source filters.

Method Details

ApplyChanges() public méthode

Applies any changes to the subscription.
public ApplyChanges ( ) : void
Résultat void

CancelRefresh() public méthode

Cancels a previous refresh.
public CancelRefresh ( ) : void
Résultat void

ComAe2Subscription() public méthode

Initializes a new instance of the ComHdaBrowser class.
public ComAe2Subscription ( ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper, ComAe2Browser browser, AeConditionManager conditionManager ) : System
server ComAe2Proxy
configuration ComAe2ProxyConfiguration
mapper ComAeNamespaceMapper
browser ComAe2Browser
conditionManager AeConditionManager
Résultat System

Dispose() public méthode

Frees any unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetFilter() public méthode

Get the event filter parameters.
public GetFilter ( int &eventTypes, ushort &lowSeverity, ushort &highSeverity, uint &categoryIds, string &areas, string &sources ) : void
eventTypes int
lowSeverity ushort
highSeverity ushort
categoryIds uint
areas string
sources string
Résultat void

GetSelectedAttributes() public méthode

Returns the currently selected attributes.
public GetSelectedAttributes ( uint categoryId ) : uint[]
categoryId uint
Résultat uint[]

OnSessionReconected() public méthode

Updates the object after a reconnect.
public OnSessionReconected ( Session session ) : void
session Session
Résultat void

Refresh() public méthode

Initiates of refresh of all conditions.
public Refresh ( ) : void
Résultat void

SelectAttributes() public méthode

Selects the attributes for the event category.
public SelectAttributes ( uint categoryId, uint attributeIds ) : void
categoryId uint
attributeIds uint
Résultat void

SetCallback() public méthode

Sets the callback.
public SetCallback ( IComAeEventCallback callback ) : void
callback IComAeEventCallback The callback.
Résultat void

SetFilter() public méthode

Sets the event filter.
public SetFilter ( int eventTypes, ushort lowSeverity, ushort highSeverity, uint categoryIds, string areas, string sources ) : void
eventTypes int
lowSeverity ushort
highSeverity ushort
categoryIds uint
areas string
sources string
Résultat void

SetKeepAlive() public méthode

Sets the keep alive rate.
public SetKeepAlive ( uint keepAlive ) : uint
keepAlive uint
Résultat uint