|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.client.ServerListBase
public abstract class ServerListBase
A base class for ServerLists discovered from discovery servers.
| Field Summary | |
|---|---|
protected org.opcfoundation.ua.builtintypes.DateTime |
lastCounterResetTime
|
protected List<org.opcfoundation.ua.core.ApplicationDescription> |
servers
|
protected List<org.opcfoundation.ua.core.ServerOnNetwork> |
serversOnNetwork
|
| Constructor Summary | |
|---|---|
ServerListBase()
|
|
ServerListBase(String uri)
Create a new list of servers, containing the servers discovered from a discoveryServer. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the list. |
abstract void |
discover(String discoveryServerUri)
Discover OPCUA applications from a discovery server. |
org.opcfoundation.ua.core.ApplicationDescription |
get(int index)
Get the description of a server. |
org.opcfoundation.ua.builtintypes.DateTime |
getLastCounterResetTime()
The last time the counters were reset |
org.opcfoundation.ua.core.ApplicationDescription[] |
getServers()
The current list of discovered servers. |
org.opcfoundation.ua.core.ServerOnNetwork[] |
getServersOnNetwork()
Get the discovered ServerOnNetwork records |
boolean |
isEmpty()
Check if the getServers() list is empty. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.opcfoundation.ua.builtintypes.DateTime lastCounterResetTime
protected final List<org.opcfoundation.ua.core.ApplicationDescription> servers
protected final List<org.opcfoundation.ua.core.ServerOnNetwork> serversOnNetwork
| Constructor Detail |
|---|
public ServerListBase()
public ServerListBase(String uri)
throws ServerListException
uri - The URI of the discovery server to discover.
ServerListException - if the discovery fails| Method Detail |
|---|
public void clear()
public abstract void discover(String discoveryServerUri)
throws ServerListException
discoveryServerUri - URI of the discovery server
ServerListException - if the discoverypublic org.opcfoundation.ua.core.ApplicationDescription get(int index)
index - the index of the server in the list
public org.opcfoundation.ua.builtintypes.DateTime getLastCounterResetTime()
public org.opcfoundation.ua.core.ApplicationDescription[] getServers()
public org.opcfoundation.ua.core.ServerOnNetwork[] getServersOnNetwork()
public boolean isEmpty()
getServers() list is empty. Note that getServersOnNetwork() may
still provide entries.
public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||