|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the address family encapsulated by this ServerEndpointpublic interface ServerEndpoint<T>
Represents an abstract local communication endpoint. Implementations of
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().
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Acceptor<T> createAcceptor()
throws IOException
Acceptor to passively listen for connections
on this local ServerEndpoint.
Acceptor configured to listen on this
ServerEndpoint
IOException - if an acceptor cannot be createdT getAddress()
T encapsulated by this
ServerEndpoint.
ServerEndpoint
|
Project Darkstar, Version 0.9.10.2 2013-07-29 21:06:29 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||