Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
A googlemock-based mock for pubsub::SubscriberConnection. More...
#include <google/cloud/pubsub/mocks/mock_subscriber_connection.h>
Public Member Functions | |
MOCK_METHOD (future< Status >, Subscribe,(pubsub::SubscriberConnection::SubscribeParams),(override)) | |
MOCK_METHOD (future< Status >, ExactlyOnceSubscribe,(pubsub::SubscriberConnection::ExactlyOnceSubscribeParams),(override)) | |
MOCK_METHOD (google::cloud::Options, options,(),(override)) | |
virtual future< Status > | Subscribe (SubscribeParams p) |
Defines the interface for Subscriber::Subscribe(ApplicationCallback) More... | |
virtual future< Status > | ExactlyOnceSubscribe (ExactlyOnceSubscribeParams p) |
Defines the interface for Subscriber::Subscribe(ExactlyOnceApplicationCallback) . More... | |
virtual StatusOr< PullResponse > | Pull () |
virtual Options | options () |
Returns the configuration parameters for this object. More... | |
A googlemock-based mock for pubsub::SubscriberConnection.
|
virtualinherited |
Defines the interface for Subscriber::Subscribe(ExactlyOnceApplicationCallback)
.
We use a different name for this function (as opposed to an overload) to simplify the use of mocks.
google::cloud::pubsub_mocks::MockSubscriberConnection::MOCK_METHOD | ( | future< Status > | , |
ExactlyOnceSubscribe | , | ||
(pubsub::SubscriberConnection::ExactlyOnceSubscribeParams) | , | ||
(override) | |||
) |
google::cloud::pubsub_mocks::MockSubscriberConnection::MOCK_METHOD | ( | future< Status > | , |
Subscribe | , | ||
(pubsub::SubscriberConnection::SubscribeParams) | , | ||
(override) | |||
) |
google::cloud::pubsub_mocks::MockSubscriberConnection::MOCK_METHOD | ( | google::cloud::Options | , |
options | , | ||
() | , | ||
(override) | |||
) |
|
inlinevirtualinherited |
Returns the configuration parameters for this object.
|
virtualinherited |
|
virtualinherited |
Defines the interface for Subscriber::Subscribe(ApplicationCallback)