ReactorNettyTcpClient or ReactorNetty2TcpClient.
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final boolean | |
| private final TcpOperations |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ReactorNettyTcpStompClient(String
the host host, int the port port)Create an instance with the given host and port. |
| public | ReactorNettyTcpStompClient(TcpOperations<byte[]>
the client to use tcpClient)Create an instance with a pre-configured TCP client. |
| Modifier and Type | Method and Description |
|---|---|
| public ListenableFuture | Returns: a ListenableFuture for access to the session when ready for usethe handler for the STOMP session handler)
Deprecated
since 6.0. as of 6.0, in favor of
connectAsync(StompSessionHandler)
Connect and notify the given |
| public ListenableFuture | Returns: a ListenableFuture for access to the session when ready for useheaders to add to the CONNECT frame connectHeaders, StompSessionHandler the handler for the STOMP session handler)
Deprecated
since 6.0. as of 6.0, in favor of
connectAsync(StompHeaders, StompSessionHandler)
An overloaded version of |
| public CompletableFuture | Returns: a CompletableFuture for access to the session when ready for usethe handler for the STOMP session handler)Connect and notify the given |
| public CompletableFuture | Returns: a CompletableFuture for access to the session when ready for useheaders to add to the CONNECT frame connectHeaders, StompSessionHandler the handler for the STOMP session handler)An overloaded version of |
| private static TcpOperations | |
| public void | |
| public String |
| reactorNetty2ClientPresent | back to summary |
|---|---|
| private static final boolean reactorNetty2ClientPresent | |
| reactorNettyClientPresent | back to summary |
|---|---|
| private static final boolean reactorNettyClientPresent | |
| tcpClient | back to summary |
|---|---|
| private final TcpOperations<byte[]> tcpClient | |
| ReactorNettyTcpStompClient | back to summary |
|---|---|
| public ReactorNettyTcpStompClient() Create an instance with host "127.0.0.1" and port 61613. | |
| ReactorNettyTcpStompClient | back to summary |
|---|---|
| public ReactorNettyTcpStompClient(String host, int port) Create an instance with the given host and port.
| |
| ReactorNettyTcpStompClient | back to summary |
|---|---|
| public ReactorNettyTcpStompClient(TcpOperations<byte[]> tcpClient) Create an instance with a pre-configured TCP client.
| |
| connect | back to summary |
|---|---|
| public ListenableFuture Connect and notify the given
| |
| connect | back to summary |
|---|---|
| public ListenableFuture An overloaded version of
| |
| connectAsync | back to summary |
|---|---|
| public CompletableFuture Connect and notify the given
| |
| connectAsync | back to summary |
|---|---|
| public CompletableFuture An overloaded version of
| |
| initTcpClient | back to summary |
|---|---|
| private static TcpOperations | |
| shutdown | back to summary |
|---|---|
| public void shutdown() Shut down the client and release resources. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |