org.opcfoundation.ua.transport.endpoint
Class EndpointCollection

java.lang.Object
  extended by org.opcfoundation.ua.transport.endpoint.EndpointCollection

Deprecated. Use EndpointBindingCollection

public class EndpointCollection
extends Object

EndpointCollection class.


Field Summary
protected  Map<Endpoint,Server> endpoints
          Deprecated. Endpoints (Uri -> Endpoint)
 
Constructor Summary
EndpointCollection()
          Deprecated. Constructor for EndpointCollection.
 
Method Summary
 void add(Endpoint endpoint, Server server)
          Deprecated. add.
 boolean contains(Endpoint endpoint)
          Deprecated. contains.
 boolean contains(Server server)
          Deprecated. contains.
 Endpoint get(String url)
          Deprecated. get.
 Endpoint get(String url, SecurityMode mode)
          Deprecated. get.
 Endpoint getDefault(String url)
          Deprecated. getDefault.
 Endpoint[] getEndpoints()
          Deprecated. Get all endpoints
 Endpoint[] getEndpoints(Server server)
          Deprecated. Get endpoints by server
 Server getServer(Endpoint endpoint)
          Deprecated. getServer.
 Server[] getServers()
          Deprecated. getServers.
 Server remove(Endpoint endpoint)
          Deprecated. remove.
 int size()
          Deprecated. size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endpoints

protected Map<Endpoint,Server> endpoints
Deprecated. 
Endpoints (Uri -> Endpoint)

Constructor Detail

EndpointCollection

public EndpointCollection()
Deprecated. 

Constructor for EndpointCollection.

Method Detail

add

public void add(Endpoint endpoint,
                Server server)
Deprecated. 

add.

Parameters:
endpoint - a Endpoint object.
server - a Server object.

remove

public Server remove(Endpoint endpoint)
Deprecated. 

remove.

Parameters:
endpoint - a Endpoint object.
Returns:
a Server object.

contains

public boolean contains(Endpoint endpoint)
Deprecated. 

contains.

Parameters:
endpoint - a Endpoint object.
Returns:
a boolean.

contains

public boolean contains(Server server)
Deprecated. 

contains.

Parameters:
server - a Server object.
Returns:
a boolean.

getServer

public Server getServer(Endpoint endpoint)
Deprecated. 

getServer.

Parameters:
endpoint - a Endpoint object.
Returns:
a Server object.

getEndpoints

public Endpoint[] getEndpoints()
Deprecated. 
Get all endpoints

Returns:
endpoints

getEndpoints

public Endpoint[] getEndpoints(Server server)
Deprecated. 
Get endpoints by server

Parameters:
server - a Server object.
Returns:
endpoints

getServers

public Server[] getServers()
Deprecated. 

getServers.

Returns:
an array of Server objects.

get

public Endpoint get(String url,
                    SecurityMode mode)
Deprecated. 

get.

Parameters:
url - a String object.
mode - a SecurityMode object.
Returns:
a Endpoint object.

get

public Endpoint get(String url)
Deprecated. 

get.

Parameters:
url - a String object.
Returns:
a Endpoint object.

size

public int size()
Deprecated. 

size.

Returns:
a int.

getDefault

public Endpoint getDefault(String url)
Deprecated. 

getDefault.

Parameters:
url - a String object.
Returns:
a Endpoint object.


Copyright © 2018. All rights reserved.