open class Destination
Represents a STOMP destination. Depending on the implementation, the message delivery is different. Queue are sending message to only one subscribers, while topics are broadcasting the message to all subscribers. Implementations must be thread-safe. NOTE: This class has been automatically generated from the io.vertx.ext.stomp.Destination non RX-ified interface using Vert.x codegen.
Destination(delegate: Destination) |
static val __TYPE_ARG: TypeArg<Destination> |
open fun ack(connection: StompServerConnection, frame: Frame): Boolean
Handles a |
|
open static fun bridge(vertx: Vertx, options: BridgeOptions): Destination |
|
open fun destination(): String |
|
open fun dispatch(connection: StompServerConnection, frame: Frame): Destination
Dispatches the given frame. |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): Destination |
|
open fun getSubscriptions(connection: StompServerConnection): MutableList<String>
Gets all subscription ids for the given destination hold by the given client |
|
open fun hashCode(): Int |
|
open fun matches(address: String): Boolean
Checks whether or not the given address matches with the current destination. |
|
open fun nack(connection: StompServerConnection, frame: Frame): Boolean
Handles a |
|
open static fun newInstance(arg: Destination): Destination |
|
open fun numberOfSubscriptions(): Int
Gets the number of subscriptions attached to the current io.vertx.reactivex.ext.stomp.Destination. |
|
open static fun queue(vertx: Vertx, destination: String): Destination |
|
open fun subscribe(connection: StompServerConnection, frame: Frame): Destination
Handles a subscription request to the current io.vertx.reactivex.ext.stomp.Destination. |
|
open fun toString(): String |
|
open static fun topic(vertx: Vertx, destination: String): Destination |
|
open fun unsubscribe(connection: StompServerConnection, frame: Frame): Boolean
Handles a un-subscription request to the current io.vertx.reactivex.ext.stomp.Destination. |
|
open fun unsubscribeConnection(connection: StompServerConnection): Destination
Removes all subscriptions of the given connection |