io.vertx.ext.stomp

## Interface Acknowledgement

-     public 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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Frame>` | `frames()`
    `Frame` | `subscription()`

- - ### Method Detail

    - #### subscription

          Frame subscription()

      Returns:
        the subscription frame

    - #### frames

          List<Frame> frames()

      Returns:
        the list of frames that have been acknowledged / not-acknowledged. The content of the list depends on the type of subscription.

Copyright © 2015. All rights reserved.