vertx / io.vertx.reactivex.ext.stomp / Acknowledgement

Acknowledgement

open class Acknowledgement

Structure passed to acknowledgement handler called when a ACK or NACK frame is received. The handler receives an instance of io.vertx.reactivex.ext.stomp.Acknowledgement with the subscription io.vertx.ext.stomp.Frame and the impacted messages. The list of messages depends on the type of acknowledgment used by the subscription. Subscriptions using the client mode receives all messages that were waiting for acknowledgment that were sent before the acknowledged messages. The list also contains the acknowledged message. This is a cumulative acknowledgement. Subscriptions using the client-individual mode receives a singleton list containing only the acknowledged message. NOTE: This class has been automatically generated from the io.vertx.ext.stomp.Acknowledgement non RX-ified interface using Vert.x codegen.

Constructors

<init>

Acknowledgement(delegate: Acknowledgement)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<Acknowledgement>

Functions

equals

open fun equals(other: Any?): Boolean

frames

open fun frames(): MutableList<Frame>

getDelegate

open fun getDelegate(): Acknowledgement

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: Acknowledgement): Acknowledgement

subscription

open fun subscription(): Frame

toString

open fun toString(): String