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

A class that implements a COM DA group.
Inheritance: IDisposable
Mostrar archivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Browse ( int browseType ) : IList

Browses the current branch.

BrowseDown ( string targetName ) : void

Moves the current browse position down.

BrowseForItems ( ) : IList

Browse for all items below the current branch.

BrowseTo ( string itemId ) : void

Moves the current browse position to the specified item.

BrowseUp ( ) : void

Moves the current browse position up.

ComHdaBrowser ( ComHdaProxy server, ComDaBrowseManager browseManager ) : System

Initializes a new instance of the ComHdaBrowser class.

Dispose ( ) : void

Frees any unmanaged resources.

GetItemId ( string browseName ) : string

Gets the item id for the specified browse element.

SetAttributeFilter ( uint attributeIds, int operators, object values ) : int[]

Sets the attribute filter.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
ApplyFilters ( IList elements, int browseType ) : IList

Applies the filters to the list of names.

BrowseForItems ( Session session, ComDaBrowseElement parent, List hits ) : void

Recursively browses for items.

MatchFilter ( string name, ItemNameFilter filter ) : bool

Return true if the name natches the filter.

ThrowIfDisposed ( ) : void

Throws if disposed.

TraceState ( string context ) : void

Dumps the current state of the browser.

Method Details

Browse() public method

Browses the current branch.
public Browse ( int browseType ) : IList
browseType int Type of the browse.
return IList

BrowseDown() public method

Moves the current browse position down.
public BrowseDown ( string targetName ) : void
targetName string
return void

BrowseForItems() public method

Browse for all items below the current branch.
public BrowseForItems ( ) : IList
return IList

BrowseTo() public method

Moves the current browse position to the specified item.
public BrowseTo ( string itemId ) : void
itemId string
return void

BrowseUp() public method

Moves the current browse position up.
public BrowseUp ( ) : void
return void

ComHdaBrowser() public method

Initializes a new instance of the ComHdaBrowser class.
public ComHdaBrowser ( ComHdaProxy server, ComDaBrowseManager browseManager ) : System
server ComHdaProxy The server.
browseManager ComDaBrowseManager The browse manager.
return System

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

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

GetItemId() public method

Gets the item id for the specified browse element.
public GetItemId ( string browseName ) : string
browseName string The name of the browse element.
return string

SetAttributeFilter() public method

Sets the attribute filter.
public SetAttributeFilter ( uint attributeIds, int operators, object values ) : int[]
attributeIds uint The attribute ids.
operators int The operators.
values object The values.
return int[]