public class ServerList extends ServerListBase
lastCounterResetTime, servers, serversOnNetwork| Constructor and Description |
|---|
ServerList()
Create a new empty list of servers.
|
ServerList(String uri)
Create a new list of servers, containing the servers discovered from a discoveryServer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discover(String discoveryServerUri)
Discover OPCUA applications from a discovery server.
|
void |
discover(UaApplication.Protocol protocol,
String hostName)
Discover OPCUA applications from a discovery server.
|
clear, get, getLastCounterResetTime, getServers, getServersOnNetwork, isEmpty, sizepublic ServerList()
public ServerList(String uri) throws ServerListException
uri - The URI of the discovery server to discover.ServerListException - if the discovery failspublic void discover(UaApplication.Protocol protocol, String hostName) throws ServerListException
protocol - Communication protocol to usehostName - the host name of the computerServerListException - if the server list cannot be retrieved.public void discover(String discoveryServerUri) throws ServerListException
discover in class ServerListBasediscoveryServerUri - URI of the discovery serverServerListException - if the discoveryCopyright © 2026. All rights reserved.