org.opcfoundation.ua.transport
Class EndpointServerCollection

java.lang.Object
  extended by org.opcfoundation.ua.transport.EndpointServerCollection

public class EndpointServerCollection
extends Object

EndpointServerCollection class.


Constructor Summary
EndpointServerCollection()
           
 
Method Summary
 void add(EndpointServer endpointServer)
          add.
 void closeAll()
          Close all endpoint servers.
 List<EndpointBinding> getEndpointBindings()
          Get all endpoint bindings
 EndpointServer getEndpointServer(SocketAddress socketAddress)
          Get the endpoint server that is bound at the given socket address.
 List<EndpointServer> getList()
          Get a snapshot of the endpoint server list
 void remove(EndpointServer endpointServer)
          remove.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointServerCollection

public EndpointServerCollection()
Method Detail

add

public void add(EndpointServer endpointServer)

add.

Parameters:
endpointServer - a EndpointServer object.

remove

public void remove(EndpointServer endpointServer)

remove.

Parameters:
endpointServer - a EndpointServer object.

getList

public List<EndpointServer> getList()
Get a snapshot of the endpoint server list

Returns:
a copy of the endpoint server list

getEndpointBindings

public List<EndpointBinding> getEndpointBindings()
Get all endpoint bindings

Returns:
all endpoint bindings of all endpoint servers in this list

closeAll

public void closeAll()
Close all endpoint servers.


getEndpointServer

public EndpointServer getEndpointServer(SocketAddress socketAddress)
Get the endpoint server that is bound at the given socket address.

Parameters:
socketAddress - a SocketAddress object.
Returns:
EndpointServer or null


Copyright © 2018. All rights reserved.