| Package | Description |
|---|---|
| io.vertx.core | |
| io.vertx.core.net | |
| io.vertx.ext.stomp | |
| io.vertx.reactivex.core.net | |
| io.vertx.rxjava.core.net | |
| io.vertx.rxjava3.core.net |
| Modifier and Type | Method and Description |
|---|---|
default NetClient |
Vertx.createNetClient()
Create a TCP/SSL client using default options
|
NetClient |
Vertx.createNetClient(NetClientOptions options)
Create a TCP/SSL client using the specified options
|
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClient.connect(int port,
String host,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host. |
NetClient |
NetClient.connect(int port,
String host,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host. |
NetClient |
NetClient.connect(SocketAddress remoteAddress,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
remoteAddress. |
NetClient |
NetClient.connect(SocketAddress remoteAddress,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
remoteAddress. |
| Modifier and Type | Method and Description |
|---|---|
Future<StompClientConnection> |
StompClient.connect(int port,
String host,
NetClient net)
Like
StompClient.connect(int, String, NetClient, Handler) but returns a Future of the asynchronous result |
StompClient |
StompClient.connect(int port,
String host,
NetClient net,
Handler<AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
Future<StompClientConnection> |
StompClient.connect(NetClient net)
Like
StompClient.connect(NetClient, Handler) but returns a Future of the asynchronous result |
StompClient |
StompClient.connect(NetClient net,
Handler<AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClient.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static NetClient |
NetClient.newInstance(NetClient arg) |
| Constructor and Description |
|---|
NetClient(NetClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClient.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static NetClient |
NetClient.newInstance(NetClient arg) |
| Constructor and Description |
|---|
NetClient(NetClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClient.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static NetClient |
NetClient.newInstance(NetClient arg) |
| Constructor and Description |
|---|
NetClient(NetClient delegate) |
Copyright © 2022 Eclipse. All rights reserved.