T - the address family encapsulated by this ServerEndpointpublic interface ServerEndpoint<T>
ServerEndpoint encapsulate the passive connection initiation
mechanism for particular address families (such as
SocketAddress).
Passive connection initiation is accomplished by obtaining a
ServerEndpoint's Acceptor via createAcceptor().
| Modifier and Type | Method and Description |
|---|---|
Acceptor<T> |
createAcceptor()
Creates an
Acceptor to passively listen for connections
on this local ServerEndpoint. |
T |
getAddress()
Returns the address of type
T encapsulated by this
ServerEndpoint. |
Acceptor<T> createAcceptor() throws IOException
Acceptor to passively listen for connections
on this local ServerEndpoint.Acceptor configured to listen on this
ServerEndpointIOException - if an acceptor cannot be createdT getAddress()
T encapsulated by this
ServerEndpoint.ServerEndpointCopyright © 2007-2013. All Rights Reserved.