Package io.vertx.rxjava3.ext.stomp
Class Acknowledgement
- java.lang.Object
-
- io.vertx.rxjava3.ext.stomp.Acknowledgement
-
public class Acknowledgement extends Object
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.NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Acknowledgement>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description Acknowledgement(Acknowledgement delegate)
Acknowledgement(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<Frame>
frames()
Acknowledgement
getDelegate()
int
hashCode()
static Acknowledgement
newInstance(Acknowledgement arg)
Frame
subscription()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<Acknowledgement> __TYPE_ARG
-
-
Constructor Detail
-
Acknowledgement
public Acknowledgement(Acknowledgement delegate)
-
Acknowledgement
public Acknowledgement(Object delegate)
-
-
Method Detail
-
getDelegate
public Acknowledgement getDelegate()
-
subscription
public Frame subscription()
- Returns:
- the subscription frame
-
frames
public 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.
-
newInstance
public static Acknowledgement newInstance(Acknowledgement arg)
-
-