.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaServer.FilterManager Class Reference

More...

Public Member Functions

 FilterManager (ServerManager server)
 Initializes a new instance of the FilterManager class. More...
 
 FilterManager (MessageContext messageContext)
 Initializes a new instance of the FilterManager class. More...
 
StatusCode ValidateFilter (ServerContext context, EventFilter filter, out EventFilterResult filterResult)
 Enables the filter. More...
 
void UpdateReferenceCount (EventFilter filter, bool enabled)
 Disables the filter. More...
 
int GetFieldHandle (string browsePath)
 Gets the field handle. More...
 
int CreateFieldHandle (string browsePath)
 Creates the field handle. More...
 
bool IsSubscribed (int id)
 Determines whether the specified id is subscribed. More...
 

Static Public Member Functions

static bool Evaluate (RequestContext context, ContentFilter filter, GenericEvent target)
 Evaluates the first element in the ContentFilter. If the first or any subsequent element has dependent elements, the dependent elements are evaluated before the root element (recursive descent). Elements which are not linked (directly or indirectly) to the first element will not be evaluated (they have no influence on the result). More...
 

Properties

NamespaceTable NamespaceUris [get]
 Gets the namespace uris. More...
 

Detailed Description

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.FilterManager.FilterManager ( ServerManager  server)

Initializes a new instance of the FilterManager class.

Parameters
serverThe server to take the message context from.
UnifiedAutomation.UaServer.FilterManager.FilterManager ( MessageContext  messageContext)

Initializes a new instance of the FilterManager class.

Parameters
messageContextThe message context.

Member Function Documentation

int UnifiedAutomation.UaServer.FilterManager.CreateFieldHandle ( string  browsePath)

Creates the field handle.

Parameters
browsePathThe browse path.
Returns
static bool UnifiedAutomation.UaServer.FilterManager.Evaluate ( RequestContext  context,
ContentFilter  filter,
GenericEvent  target 
)
static

Evaluates the first element in the ContentFilter. If the first or any subsequent element has dependent elements, the dependent elements are evaluated before the root element (recursive descent). Elements which are not linked (directly or indirectly) to the first element will not be evaluated (they have no influence on the result).

Parameters
contextThe context to use when evaluating the filter.
filterThe filter.
targetThe target to use when evaluating elements that reference the type model.
Returns
Returns true, false or null.
int UnifiedAutomation.UaServer.FilterManager.GetFieldHandle ( string  browsePath)

Gets the field handle.

Parameters
browsePathThe browse path.
Returns
bool UnifiedAutomation.UaServer.FilterManager.IsSubscribed ( int  id)

Determines whether the specified id is subscribed.

Parameters
idThe id.
Returns
true if the specified id is subscribed; otherwise, false.
void UnifiedAutomation.UaServer.FilterManager.UpdateReferenceCount ( EventFilter  filter,
bool  enabled 
)

Disables the filter.

Parameters
filterThe filter.
enabledif set to true [enabled].
StatusCode UnifiedAutomation.UaServer.FilterManager.ValidateFilter ( ServerContext  context,
EventFilter  filter,
out EventFilterResult  filterResult 
)

Enables the filter.

Parameters
contextThe request context.
filterThe filter.
filterResultThe filter result.
Returns

Property Documentation

NamespaceTable UnifiedAutomation.UaServer.FilterManager.NamespaceUris
get

Gets the namespace uris.


The documentation for this class was generated from the following file: