| Package | Description |
|---|---|
| io.vertx.ext.stomp |
| Modifier and Type | Method and Description |
|---|---|
StompClient |
StompClient.connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server using the host and port configured in the client's options.
|
StompClient |
StompClient.connect(int port,
String host,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
StompClient |
StompClient.connect(int port,
String host,
io.vertx.core.net.NetClient net,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
StompClient |
StompClient.connect(io.vertx.core.net.NetClient net,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
static StompClient |
StompClient.create(io.vertx.core.Vertx vertx)
Creates a
StompClient using the default implementation. |
static StompClient |
StompClient.create(io.vertx.core.Vertx vertx,
StompClientOptions options)
Creates a
StompClient using the default implementation. |
StompClient |
StompClient.errorFrameHandler(io.vertx.core.Handler<Frame> handler)
A general error frame handler.
|
StompClient |
StompClient.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Sets an exception handler notified for TCP-level errors.
|
StompClient |
StompClient.receivedFrameHandler(io.vertx.core.Handler<Frame> handler)
Configures a received handler that gets notified when a STOMP frame is received by the client.
|
StompClient |
StompClient.writingFrameHandler(io.vertx.core.Handler<Frame> handler)
Configures a writing handler that gets notified when a STOMP frame is written on the wire.
|
Copyright © 2019 Eclipse. All rights reserved.