Package io.vertx.mutiny.ext.stomp
Class Acknowledgement
java.lang.Object
io.vertx.mutiny.ext.stomp.Acknowledgement
- All Implemented Interfaces:
MutinyDelegate
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.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgement(io.vertx.ext.stomp.Acknowledgement delegate) Acknowledgement(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<io.vertx.ext.stomp.Frame>frames()io.vertx.ext.stomp.AcknowledgementinthashCode()static AcknowledgementnewInstance(io.vertx.ext.stomp.Acknowledgement arg) io.vertx.ext.stomp.FrametoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Acknowledgement
public Acknowledgement(io.vertx.ext.stomp.Acknowledgement delegate) -
Acknowledgement
-
-
Method Details
-
getDelegate
public io.vertx.ext.stomp.Acknowledgement getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
subscription
public io.vertx.ext.stomp.Frame subscription()- Returns:
- the subscription 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
-