Structure passed to acknowledgement handler called when a <code>ACK</code> or <code>NACK</code> frame is received. The handler receives an instance of @see \io\vertx\jphp\ext\stomp\Acknowledgement with the subscription @see \io\vertx\jphp\ext\stomp\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.
package |
Default |
---|
__construct()
frames() : array
array
the list of frames that have been acknowledged / not-acknowledged. The content of the list depends on the type of subscription.
subscription() : \io\vertx\jphp\ext\stomp\Frame