Package io.vertx.mutiny.ext.stomp
Class Acknowledgement
- java.lang.Object
-
- io.vertx.mutiny.ext.stomp.Acknowledgement
-
public class Acknowledgement extends Object
Structure 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. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Acknowledgement>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description Acknowledgement(io.vertx.ext.stomp.Acknowledgement delegate)Acknowledgement(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<io.vertx.ext.stomp.Frame>frames()io.vertx.ext.stomp.AcknowledgementgetDelegate()inthashCode()static AcknowledgementnewInstance(io.vertx.ext.stomp.Acknowledgement arg)io.vertx.ext.stomp.Framesubscription()StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<Acknowledgement> __TYPE_ARG
-
-
Constructor Detail
-
Acknowledgement
public Acknowledgement(io.vertx.ext.stomp.Acknowledgement delegate)
-
Acknowledgement
public Acknowledgement(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.stomp.Acknowledgement getDelegate()
-
subscription
public io.vertx.ext.stomp.Frame subscription()
- Returns:
- the subscription frame
-
frames
public List<io.vertx.ext.stomp.Frame> frames()
- Returns:
- the list of frames that have been acknowledged / not-acknowledged. The content of the list depends on the type of subscription.
-
newInstance
public static Acknowledgement newInstance(io.vertx.ext.stomp.Acknowledgement arg)
-
-