Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
The inlined, versioned namespace for the Cloud Pub/Sub C++ client APIs. More...
#include <google/cloud/pubsub/mocks/mock_ack_handler.h>
Public Member Functions | |
MOCK_METHOD (void, ack,(),(override)) | |
MOCK_METHOD (void, nack,(),(override)) | |
MOCK_METHOD (std::string, ack_id,()) | |
MOCK_METHOD (std::int32_t, delivery_attempt,(),(const, override)) | |
virtual void | ack () |
The implementation for AckHandler::ack() More... | |
virtual void | nack () |
The implementation for AckHandler::nack() More... | |
virtual std::int32_t | delivery_attempt () const |
The implementation for AckHandler::delivery_attempt() More... | |
The inlined, versioned namespace for the Cloud Pub/Sub C++ client APIs.
Applications may need to link multiple versions of the Cloud Pub/Sub C++ client, for example, if they link a library that uses an older version of the client than they do. This namespace is inlined, so applications can use pubsub::Foo
in their source, but the symbols are versioned, i.e., the symbol becomes pubsub::v1::Foo
. A googlemock-based mock for pubsub::AckHandler::Impl
|
inlinevirtualinherited |
The implementation for AckHandler::ack()
|
inlinevirtualinherited |
The implementation for AckHandler::delivery_attempt()
google::cloud::pubsub_mocks::MockAckHandler::MOCK_METHOD | ( | std::int32_t | , |
delivery_attempt | , | ||
() | , | ||
(const, override) | |||
) |
google::cloud::pubsub_mocks::MockAckHandler::MOCK_METHOD | ( | std::string | , |
ack_id | , | ||
() | |||
) |
google::cloud::pubsub_mocks::MockAckHandler::MOCK_METHOD | ( | void | , |
ack | , | ||
() | , | ||
(override) | |||
) |
google::cloud::pubsub_mocks::MockAckHandler::MOCK_METHOD | ( | void | , |
nack | , | ||
() | , | ||
(override) | |||
) |
|
inlinevirtualinherited |
The implementation for AckHandler::nack()