Class Impl (2.21.0)

Allow applications to mock an PullAckHandler.

Functions

virtual ack()

The implementation for PullAckHandler::ack()

Returns
TypeDescription
future< Status >

virtual nack()

The implementation for PullAckHandler::nack()

Returns
TypeDescription
future< Status >

virtual delivery_attempt() const

The implementation for PullAckHandler::delivery_attempt()

Returns
TypeDescription
std::int32_t

virtual ack_id() const

Returns the ack id for the handler.

There is no corresponding public interface to access the ack id in PullAckHandler. This is for internal use only.

Returns
TypeDescription
std::string

virtual subscription() const

Returns the subscription for the handler.

There is no corresponding public interface to access the subscription id in PullAckHandler. This is for internal use only.

Returns
TypeDescription
pubsub::Subscription