Package io.vertx.ext.stomp
Interface Acknowledgement
-
public interface AcknowledgementStructure passed to acknowledgement handler called when aACKorNACKframe is received. The handler receives an instance ofAcknowledgementwith the subscriptionFrameand the impacted messages. The list of messages depends on the type of acknowledgment used by the subscription. Subscriptions using theclientmode 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-individualmode 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()Framesubscription()
-