1 #ifndef QPID_MESSAGING_SENDER_H 2 #define QPID_MESSAGING_SENDER_H 24 #include "qpid/messaging/ImportExport.h" 26 #include "qpid/messaging/Handle.h" 27 #include "qpid/sys/IntegerTypes.h" 35 template <
class>
class PrivateImplRef;
47 QPID_MESSAGING_EXTERN
Sender(SenderImpl* impl = 0);
48 QPID_MESSAGING_EXTERN Sender(
const Sender&);
49 QPID_MESSAGING_EXTERN ~Sender();
50 QPID_MESSAGING_EXTERN Sender& operator=(
const Sender&);
60 QPID_MESSAGING_EXTERN
void send(
const Message& message,
bool sync=
false);
61 QPID_MESSAGING_EXTERN
void close();
68 QPID_MESSAGING_EXTERN
void setCapacity(uint32_t);
73 QPID_MESSAGING_EXTERN uint32_t getCapacity();
78 QPID_MESSAGING_EXTERN uint32_t getUnsettled();
83 QPID_MESSAGING_EXTERN uint32_t getAvailable();
87 QPID_MESSAGING_EXTERN
const std::string& getName()
const;
92 QPID_MESSAGING_EXTERN
Session getSession()
const;
97 QPID_MESSAGING_EXTERN
Address getAddress()
const;
Definition: Address.h:122
Definition: Connection.h:36