| Modifier and Type | Method and Description |
|---|---|
| public default ListenableFuture | Returns: a ListenableFuture that can be used to determine when and if the connection is successfully establisheda handler to manage the connection connectionHandler)
Deprecated
since 6.0. as of 6.0, in favor of
Open a new connection.
connectAsync(TcpConnectionHandler)
|
| public default ListenableFuture | Returns: a ListenableFuture that can be used to determine when and if the initial connection is successfully establisheda handler to manage the connection connectionHandler, ReconnectStrategy a strategy for reconnecting reconnectStrategy)
Deprecated
since 6.0. as of 6.0, in favor of
Open a new connection and a strategy for reconnecting if the connection fails.
connectAsync(TcpConnectionHandler, ReconnectStrategy)
|
| public CompletableFuture | Returns: a CompletableFuture that can be used to determine when and if the connection is successfully establisheda handler to manage the connection connectionHandler)Open a new connection. |
| public CompletableFuture | Returns: a CompletableFuture that can be used to determine when and if the initial connection is successfully establisheda handler to manage the connection connectionHandler, ReconnectStrategy a strategy for reconnecting reconnectStrategy)Open a new connection and a strategy for reconnecting if the connection fails. |
| public default ListenableFuture | Returns: a ListenableFuture that can be used to determine when and if the connection is successfully closed
Deprecated
since 6.0. as of 6.0, in favor of
Shut down and close any open connections.
shutdownAsync()
|
| public CompletableFuture | Returns: a CompletableFuture that can be used to determine when and if the connection is successfully closedShut down and close any open connections. |
| connect | back to summary |
|---|---|
| public default ListenableFuture Open a new connection.
| |
| connect | back to summary |
|---|---|
| public default ListenableFuture Open a new connection and a strategy for reconnecting if the connection fails.
| |
| connectAsync | back to summary |
|---|---|
| public CompletableFuture Open a new connection.
| |
| connectAsync | back to summary |
|---|---|
| public CompletableFuture Open a new connection and a strategy for reconnecting if the connection fails.
| |
| shutdown | back to summary |
|---|---|
| public default ListenableFuture Shut down and close any open connections.
| |
| shutdownAsync | back to summary |
|---|---|
| public CompletableFuture Shut down and close any open connections.
| |