#include <userver/urabbitmq/broker_interface.hpp>
Administrative interface for the broker. This class is merely an interface for convenience and you are not expected to use it directly (use Client
/AdminChannel
instead).
Definition at line 20 of file broker_interface.hpp.
Public Member Functions | |
virtual void | DeclareExchange (const Exchange &exchange, Exchange::Type type, utils::Flags< Exchange::Flags > flags, engine::Deadline deadline)=0 |
Declare an exchange. | |
virtual void | DeclareExchange (const Exchange &exchange, Exchange::Type type, engine::Deadline deadline)=0 |
overload of DeclareExchange | |
virtual void | DeclareExchange (const Exchange &exchange, engine::Deadline deadline)=0 |
overload of DeclareExchange | |
virtual void | DeclareQueue (const Queue &queue, utils::Flags< Queue::Flags > flags, engine::Deadline deadline)=0 |
Declare a queue. | |
virtual void | DeclareQueue (const Queue &queue, engine::Deadline deadline)=0 |
overload of DeclareQueue | |
virtual void | BindQueue (const Exchange &exchange, const Queue &queue, const std::string &routing_key, engine::Deadline deadline)=0 |
Bind a queue to an exchange. | |
virtual void | RemoveExchange (const Exchange &exchange, engine::Deadline deadline)=0 |
Remove an exchange. | |
virtual void | RemoveQueue (const Queue &queue, engine::Deadline deadline)=0 |
Remove a queue. | |
|
pure virtual |
Bind a queue to an exchange.
exchange | the source exchange |
queue | the target queue |
routing_key | the routing key |
deadline | execution deadline |
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
overload of DeclareExchange
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
overload of DeclareExchange
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
Declare an exchange.
exchange | name of the exchange |
type | exchange type |
flags | exchange flags |
deadline | execution deadline |
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
overload of DeclareQueue
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
Declare a queue.
queue | name of the queue |
flags | queue flags |
deadline | execution deadline |
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
Remove an exchange.
exchange | name of the exchange to remove |
deadline | execution deadline |
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.
|
pure virtual |
Remove a queue.
queue | name of the queue to remove |
deadline | execution deadline |
Implemented in urabbitmq::AdminChannel, and urabbitmq::Client.