|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
M - the type of messages that can be transmitted through the connection.public interface ServerConnector<M extends Message>
Defines how a server listens and establishes Connections from
clients.
| Method Summary | |
|---|---|
Connection<M> |
accept()
waits until a ClientConnector connects in and establish a
Connection. |
void |
close()
closes this connector. |
| Method Detail |
|---|
Connection<M> accept()
throws ConnectionException
ClientConnector connects in and establish a
Connection.
Connection established with the client.
ConnectionException
void close()
throws ConnectionException
ConnectionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||