public class EndpointServerCollection extends Object
EndpointServerCollection class.
| Constructor and Description |
|---|
EndpointServerCollection() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void add(EndpointServer endpointServer)
add.
endpointServer - a EndpointServer object.public void closeAll()
public List<EndpointBinding> getEndpointBindings()
public EndpointServer getEndpointServer(SocketAddress socketAddress)
socketAddress - a SocketAddress object.public List<EndpointServer> getList()
public void remove(EndpointServer endpointServer)
remove.
endpointServer - a EndpointServer object.Copyright © 2026. All rights reserved.