| Modifier and Type | Method and Description |
|---|---|
<T,U> Connection |
Connection.handler(Class<T> type,
MessageHandler<T,U> handler)
Sets a message handler on the connection.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<Connection> |
Connection.closeListener(Consumer<Connection> listener)
Sets a close listener on the connection.
|
CompletableFuture<Connection> |
Client.connect(Address address)
Connects the client to the given address.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<Connection> |
Connection.closeListener(Consumer<Connection> listener)
Sets a close listener on the connection.
|
CompletableFuture<Void> |
Server.listen(Address address,
Consumer<Connection> listener)
Listens for connections on the server.
|
Copyright © 2013–2015. All rights reserved.