Package io.vertx.ext.stomp
Interface Acknowledgement
-
public interface Acknowledgement
Structure passed to acknowledgement handler called when aACK
orNACK
frame is received. The handler receives an instance ofAcknowledgement
with the subscriptionFrame
and the impacted messages. The list of messages depends on the type of acknowledgment used by the subscription. Subscriptions using theclient
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 theclient-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 Description List<Frame>
frames()
Frame
subscription()
-