qpid::messaging::Sender Class Reference
Interface through which messages are sent.
More...
#include <qpid/messaging/Sender.h>
List of all members.
Detailed Description
Interface through which messages are sent.
Definition at line 44 of file Sender.h.
Member Typedef Documentation
Constructor & Destructor Documentation
qpid::messaging::Sender::Sender |
( |
SenderImpl * |
impl = 0 |
) |
|
qpid::messaging::Sender::Sender |
( |
const Sender & |
|
) |
|
qpid::messaging::Sender::~Sender |
( |
|
) |
|
Member Function Documentation
void qpid::messaging::Sender::cancel |
( |
|
) |
|
uint32_t qpid::messaging::Sender::getCapacity |
( |
|
) |
|
Returns the capacity of the sender.
- See also:
- setCapacity
const std::string& qpid::messaging::Sender::getName |
( |
|
) |
const |
Returns the name of this sender.
Session qpid::messaging::Sender::getSession |
( |
|
) |
const |
Returns a handle to the session associated with this sender.
- Returns:
- true if handle is null. It is an error to call any function on a null handle.
Definition at line 46 of file Handle.h.
- Returns:
- true if handle is valid, i.e. not null.
Definition at line 43 of file Handle.h.
Conversion to bool supports idiom if (handle) { handle->.
.. }
Definition at line 49 of file Handle.h.
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
Definition at line 52 of file Handle.h.
Sender& qpid::messaging::Sender::operator= |
( |
const Sender & |
|
) |
|
uint32_t qpid::messaging::Sender::pending |
( |
|
) |
|
Returns the number of sent messages pending confirmation of receipt by the broker.
(These are the 'in-doubt' messages).
void qpid::messaging::Sender::send |
( |
const Message & |
message |
) |
|
void qpid::messaging::Sender::setCapacity |
( |
uint32_t |
|
) |
|
Sets the capacity for the sender.
The capacity determines how many outgoing messages can be held pending confirmation of receipt by the broker.
Member Data Documentation
The documentation for this class was generated from the following file: