Package | Description |
---|---|
io.vertx.rxjava.ext.stomp |
Modifier and Type | Field and Description |
---|---|
static TypeArg<StompClientConnection> |
StompClientConnection.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
StompClientConnection |
StompClientConnection.abort(String id)
Aborts a transaction.
|
StompClientConnection |
StompClientConnection.abort(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Aborts a transaction.
|
StompClientConnection |
StompClientConnection.abort(String id,
Map<String,String> headers)
Aborts a transaction.
|
StompClientConnection |
StompClientConnection.abort(String id,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Aborts a transaction.
|
StompClientConnection |
StompClientConnection.ack(String id)
Sends an acknowledgement for a specific message.
|
StompClientConnection |
StompClientConnection.ack(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends an acknowledgement for a specific message.
|
StompClientConnection |
StompClientConnection.ack(String id,
String txId)
Sends an acknowledgement for the given frame.
|
StompClientConnection |
StompClientConnection.ack(String id,
String txId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends an acknowledgement for the given frame.
|
StompClientConnection |
StompClientConnection.beginTX(String id)
Begins a transaction.
|
StompClientConnection |
StompClientConnection.beginTX(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Begins a transaction.
|
StompClientConnection |
StompClientConnection.beginTX(String id,
Map<String,String> headers)
Begins a transaction.
|
StompClientConnection |
StompClientConnection.beginTX(String id,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Begins a transaction.
|
StompClientConnection |
StompClientConnection.closeHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler notified when the STOMP connection is closed.
|
StompClientConnection |
StompClientConnection.commit(String id)
Commits a transaction.
|
StompClientConnection |
StompClientConnection.commit(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Commits a transaction.
|
StompClientConnection |
StompClientConnection.commit(String id,
Map<String,String> headers)
Commits a transaction.
|
StompClientConnection |
StompClientConnection.commit(String id,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Commits a transaction.
|
StompClientConnection |
StompClientConnection.connectionDroppedHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler notified when the server does not respond to a
ping request in time. |
StompClientConnection |
StompClientConnection.disconnect()
Disconnects the client.
|
StompClientConnection |
StompClientConnection.disconnect(io.vertx.ext.stomp.Frame frame)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.disconnect(io.vertx.ext.stomp.Frame frame,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.disconnect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.errorHandler(io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler)
Sets a handler notified when an
ERROR frame is received by the client. |
StompClientConnection |
StompClientConnection.exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler)
Configures the exception handler notified upon TCP-level errors.
|
StompClientConnection |
StompClientConnection.nack(String id)
Sends a non-acknowledgement for the given message.
|
StompClientConnection |
StompClientConnection.nack(String id,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends a non-acknowledgement for the given message.
|
StompClientConnection |
StompClientConnection.nack(String id,
String txId)
Sends a non-acknowledgement for the given frame.
|
StompClientConnection |
StompClientConnection.nack(String id,
String txId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends a non-acknowledgement for the given frame.
|
static StompClientConnection |
StompClientConnection.newInstance(io.vertx.ext.stomp.StompClientConnection arg) |
StompClientConnection |
StompClientConnection.pingHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler that let customize the behavior when a ping needs to be sent to the server.
|
StompClientConnection |
StompClientConnection.receivedFrameHandler(io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler)
Configures a received handler that get notified when a STOMP frame is received by the client.
|
StompClientConnection |
StompClientConnection.send(io.vertx.ext.stomp.Frame frame)
Sends the given frame to the server.
|
StompClientConnection |
StompClientConnection.send(io.vertx.ext.stomp.Frame frame,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends the given frame to the server.
|
StompClientConnection |
StompClientConnection.send(Map<String,String> headers,
Buffer body)
Sends a
SEND frame to the server. |
StompClientConnection |
StompClientConnection.send(Map<String,String> headers,
Buffer body,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends a
SEND frame to the server. |
StompClientConnection |
StompClientConnection.send(String destination,
Buffer body)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
Buffer body,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
Map<String,String> headers,
Buffer body)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
Map<String,String> headers,
Buffer body,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.subscribe(String destination,
io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler)
Subscribes to the given destination.
|
StompClientConnection |
StompClientConnection.subscribe(String destination,
io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> receiptHandler)
Subscribes to the given destination.
|
StompClientConnection |
StompClientConnection.subscribe(String destination,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler)
Subscribes to the given destination.
|
StompClientConnection |
StompClientConnection.subscribe(String destination,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler,
io.vertx.core.Handler<io.vertx.core.AsyncResult<String>> receiptHandler)
Subscribes to the given destination.
|
StompClientConnection |
StompClientConnection.unsubscribe(String destination)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.unsubscribe(String destination,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.unsubscribe(String destination,
Map<String,String> headers)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.unsubscribe(String destination,
Map<String,String> headers,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.stomp.Frame>> receiptHandler)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.writingFrameHandler(io.vertx.core.Handler<io.vertx.ext.stomp.Frame> handler)
Configures a handler notified when a frame is going to be written on the wire.
|
Modifier and Type | Method and Description |
---|---|
rx.Single<StompClientConnection> |
StompClient.rxConnect()
Connects to the server using the host and port configured in the client's options.
|
rx.Single<StompClientConnection> |
StompClient.rxConnect(int port,
String host)
Connects to the server.
|
rx.Single<StompClientConnection> |
StompClient.rxConnect(int port,
String host,
NetClient net)
Connects to the server.
|
rx.Single<StompClientConnection> |
StompClient.rxConnect(NetClient net)
Connects to the server.
|
Modifier and Type | Method and Description |
---|---|
StompClientConnection |
StompClientConnection.closeHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler notified when the STOMP connection is closed.
|
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,
NetClient net,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
StompClient |
StompClient.connect(NetClient net,
io.vertx.core.Handler<io.vertx.core.AsyncResult<StompClientConnection>> resultHandler)
Connects to the server.
|
StompClientConnection |
StompClientConnection.connectionDroppedHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler notified when the server does not respond to a
ping request in time. |
StompClientConnection |
StompClientConnection.pingHandler(io.vertx.core.Handler<StompClientConnection> handler)
Sets a handler that let customize the behavior when a ping needs to be sent to the server.
|
Copyright © 2021 Eclipse. All rights reserved.