C# Class Opc.Ua.Client.Controls.DiscoveredServerListCtrl

Displays a list of servers.
Inheritance: Windows.UI.Xaml.Controls.UserControl
Show file Open project: OPCFoundation/UA-.NET

Private Properties

Property Type Description
DiscoverServers bool
OnDiscoverServers void
OnUpdateServers void

Public Methods

Method Description
DiscoveredServerListCtrl ( ) : System

Initalize the control.

Initialize ( ConfiguredEndpointCollection endpoints, ApplicationConfiguration configuration ) : void

Displays a list of servers in the control.

Initialize ( string hostname, ApplicationConfiguration configuration ) : void

Displays a list of servers in the control.

Protected Methods

Method Description
UpdateItem ( ListViewItem listItem, object item ) : void

Updates an item in the control.

Private Methods

Method Description
DiscoverServers ( Uri discoveryUrl ) : bool

Fetches the servers from the discovery server.

OnDiscoverServers ( object state ) : void

Attempts fetch the list of servers from the discovery server.

OnUpdateServers ( object state ) : void

Updates the list of servers displayed in the control.

Method Details

DiscoveredServerListCtrl() public method

Initalize the control.
public DiscoveredServerListCtrl ( ) : System
return System

Initialize() public method

Displays a list of servers in the control.
public Initialize ( ConfiguredEndpointCollection endpoints, ApplicationConfiguration configuration ) : void
endpoints ConfiguredEndpointCollection
configuration ApplicationConfiguration
return void

Initialize() public method

Displays a list of servers in the control.
public Initialize ( string hostname, ApplicationConfiguration configuration ) : void
hostname string
configuration ApplicationConfiguration
return void

UpdateItem() protected method

Updates an item in the control.
protected UpdateItem ( ListViewItem listItem, object item ) : void
listItem Windows.UI.Xaml.Controls.ListViewItem
item object
return void