|
RMQ - RabbitMQ C++ Library
|
Mocks rmqp::RabbitContext and/or rmqa::RabbitContext. More...
#include <rmqtestmocks_mockrabbitcontext.h>


Public Member Functions | |
| bsl::shared_ptr< rmqa::RabbitContext > | context () |
| MOCK_METHOD3 (createVHostConnection, bsl::shared_ptr< rmqp::Connection >(const bsl::string &userDefinedName, const bsl::shared_ptr< rmqt::Endpoint > &endpoint, const bsl::shared_ptr< rmqt::Credentials > &credentials)) | |
| MOCK_METHOD2 (createVHostConnection, bsl::shared_ptr< rmqp::Connection >(const bsl::string &userDefinedName, const rmqt::VHostInfo &vhostInfo)) | |
| virtual bsl::shared_ptr< Connection > | createVHostConnection (const bsl::string &userDefinedName, const bsl::shared_ptr< rmqt::Endpoint > &endpoint, const bsl::shared_ptr< rmqt::Credentials > &credentials)=0 |
| Connect to a RabbitMQ broker. More... | |
| virtual bsl::shared_ptr< Connection > | createVHostConnection (const bsl::string &userDefinedName, const rmqt::VHostInfo &endpoint)=0 |
| Connect to a RabbitMQ broker. More... | |
Mocks rmqp::RabbitContext and/or rmqa::RabbitContext.
|
pure virtualinherited |
Connect to a RabbitMQ broker.
| endpoint | identifies the broker to connect to |
| credentials | Authentication information |
Create a new rmqa::VHost to a RabbitMQ broker. Connections will be established (with the broker) when creating producers or consumers on the vhost object
Implemented in BloombergLP::rmqa::RabbitContextImpl.
|
pure virtualinherited |
Connect to a RabbitMQ broker.
| vhostInfo | identifies the broker to connect to & authentication details |
Create a new rmqa::VHost to a RabbitMQ broker. Connections will be established (with the broker) when creating producers or consumers on the vhost object
Implemented in BloombergLP::rmqa::RabbitContextImpl.