| Package | Description |
|---|---|
| io.vertx.ext.stomp |
| Modifier and Type | Method and Description |
|---|---|
StompClientConnection |
StompClientConnection.abort(String id)
Aborts a transaction.
|
StompClientConnection |
StompClientConnection.abort(String id,
io.vertx.core.Handler<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<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<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<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<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<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<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<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(Frame frame)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.disconnect(Frame frame,
io.vertx.core.Handler<Frame> receiptHandler)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.disconnect(io.vertx.core.Handler<Frame> receiptHandler)
Disconnects the client.
|
StompClientConnection |
StompClientConnection.errorHandler(io.vertx.core.Handler<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<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<Frame> receiptHandler)
Sends a non-acknowledgement for the given frame.
|
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<Frame> handler)
Configures a received handler that get notified when a STOMP frame is received by the client.
|
StompClientConnection |
StompClientConnection.send(Frame frame)
Sends the given frame to the server.
|
StompClientConnection |
StompClientConnection.send(Frame frame,
io.vertx.core.Handler<Frame> receiptHandler)
Sends the given frame to the server.
|
StompClientConnection |
StompClientConnection.send(Map<String,String> headers,
io.vertx.core.buffer.Buffer body)
Sends a
SEND frame to the server. |
StompClientConnection |
StompClientConnection.send(Map<String,String> headers,
io.vertx.core.buffer.Buffer body,
io.vertx.core.Handler<Frame> receiptHandler)
Sends a
SEND frame to the server. |
StompClientConnection |
StompClientConnection.send(String destination,
io.vertx.core.buffer.Buffer body)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
io.vertx.core.buffer.Buffer body,
io.vertx.core.Handler<Frame> receiptHandler)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
Map<String,String> headers,
io.vertx.core.buffer.Buffer body)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.send(String destination,
Map<String,String> headers,
io.vertx.core.buffer.Buffer body,
io.vertx.core.Handler<Frame> receiptHandler)
Sends a
SEND frame to the server to the given destination. |
StompClientConnection |
StompClientConnection.unsubscribe(String destination)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.unsubscribe(String destination,
io.vertx.core.Handler<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<Frame> receiptHandler)
Un-subscribes from the given destination.
|
StompClientConnection |
StompClientConnection.writingFrameHandler(io.vertx.core.Handler<Frame> handler)
Configures a handler notified when a frame is going to be written on the wire.
|
| 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,
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.
|
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 © 2019 Eclipse. All rights reserved.