com.prosysopc.ua.client
Class GlobalServerList

java.lang.Object
  extended by com.prosysopc.ua.client.ServerListBase
      extended by com.prosysopc.ua.client.GlobalServerList

public class GlobalServerList
extends ServerListBase


Field Summary
 
Fields inherited from class com.prosysopc.ua.client.ServerListBase
lastCounterResetTime, servers, serversOnNetwork
 
Constructor Summary
GlobalServerList()
           
GlobalServerList(String uri)
           
 
Method Summary
protected  org.opcfoundation.ua.core.BrowsePath createBrowsePath(UaNode app, int gdsNamespaceIndex, String applicationType)
           
 void discover(String discoveryServerUri)
          Discover OPCUA applications from a discovery server.
protected  org.opcfoundation.ua.builtintypes.NodeId getNodeId(org.opcfoundation.ua.core.BrowsePathResult[] results, int i)
           
protected  String getStringValue(org.opcfoundation.ua.builtintypes.DataValue[] values, int i)
           
 
Methods inherited from class com.prosysopc.ua.client.ServerListBase
clear, get, getLastCounterResetTime, getServers, getServersOnNetwork, isEmpty, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalServerList

public GlobalServerList()

GlobalServerList

public GlobalServerList(String uri)
                 throws ServerListException
Throws:
ServerListException
Method Detail

discover

public void discover(String discoveryServerUri)
              throws ServerListException
Discover OPCUA applications from a discovery server.

Specified by:
discover in class ServerListBase
Parameters:
discoveryServerUri - URI of the discovery server
Throws:
ServerListException - if the discovery

createBrowsePath

protected org.opcfoundation.ua.core.BrowsePath createBrowsePath(UaNode app,
                                                                int gdsNamespaceIndex,
                                                                String applicationType)
Parameters:
app -
gdsNamespaceIndex -
applicationType -
Returns:

getNodeId

protected org.opcfoundation.ua.builtintypes.NodeId getNodeId(org.opcfoundation.ua.core.BrowsePathResult[] results,
                                                             int i)
                                                      throws org.opcfoundation.ua.common.ServiceResultException,
                                                             ServiceException,
                                                             StatusException
Parameters:
results -
i -
Returns:
Throws:
StatusException
ServiceException
org.opcfoundation.ua.common.ServiceResultException

getStringValue

protected String getStringValue(org.opcfoundation.ua.builtintypes.DataValue[] values,
                                int i)
Parameters:
values -
i -
Returns:


Copyright © 2018. All rights reserved.