vertx / io.vertx.ext.stomp / Acknowledgement

Acknowledgement

interface Acknowledgement

Structure passed to acknowledgement handler called when a ACK or NACK frame is received. The handler receives an instance of Acknowledgement with the subscription 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.

Author
Clement Escoffier

Functions

frames

abstract fun frames(): MutableList<Frame>

subscription

abstract fun subscription(): Frame