summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Receiver.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-05-18 17:26:58 +0000
committerGordon Sim <gsim@apache.org>2010-05-18 17:26:58 +0000
commit70064342cca8a2822655918d4e976c643526fd7b (patch)
treed00c0af188526ae466e74d5ffb4628f960aed5e8 /cpp/include/qpid/messaging/Receiver.h
parent6d2ccec626caef116b30b53c8343b5b3db848ee6 (diff)
downloadqpid-python-70064342cca8a2822655918d4e976c643526fd7b.tar.gz
QPID-2612: Fix to windows build from Chuck Rolke
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945778 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Receiver.h')
-rw-r--r--cpp/include/qpid/messaging/Receiver.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/cpp/include/qpid/messaging/Receiver.h b/cpp/include/qpid/messaging/Receiver.h
index 2cd024f26f..a1129975cf 100644
--- a/cpp/include/qpid/messaging/Receiver.h
+++ b/cpp/include/qpid/messaging/Receiver.h
@@ -42,16 +42,16 @@ class Session;
class Receiver : public qpid::messaging::Handle<ReceiverImpl>
{
public:
- QPID_CLIENT_EXTERN Receiver(ReceiverImpl* impl = 0);
- QPID_CLIENT_EXTERN Receiver(const Receiver&);
- QPID_CLIENT_EXTERN ~Receiver();
- QPID_CLIENT_EXTERN Receiver& operator=(const Receiver&);
+ QPID_MESSAGING_EXTERN Receiver(ReceiverImpl* impl = 0);
+ QPID_MESSAGING_EXTERN Receiver(const Receiver&);
+ QPID_MESSAGING_EXTERN ~Receiver();
+ QPID_MESSAGING_EXTERN Receiver& operator=(const Receiver&);
/**
* Retrieves a message from this receivers local queue, or waits
* for upto the specified timeout for a message to become
* available.
*/
- QPID_CLIENT_EXTERN bool get(Message& message, Duration timeout=Duration::FOREVER);
+ QPID_MESSAGING_EXTERN bool get(Message& message, Duration timeout=Duration::FOREVER);
/**
* Retrieves a message from this receivers local queue, or waits
* for up to the specified timeout for a message to become
@@ -61,7 +61,7 @@ class Receiver : public qpid::messaging::Handle<ReceiverImpl>
* after waiting for the specified timeout, or if the Receiver is
* closed, in which case isClose() will be true.
*/
- QPID_CLIENT_EXTERN Message get(Duration timeout=Duration::FOREVER);
+ QPID_MESSAGING_EXTERN Message get(Duration timeout=Duration::FOREVER);
/**
* Retrieves a message for this receivers subscription or waits
* for up to the specified timeout for one to become
@@ -73,7 +73,7 @@ class Receiver : public qpid::messaging::Handle<ReceiverImpl>
* waiting for the specified timeout, or if the Receiver is
* closed, in which case isClose() will be true.
*/
- QPID_CLIENT_EXTERN bool fetch(Message& message, Duration timeout=Duration::FOREVER);
+ QPID_MESSAGING_EXTERN bool fetch(Message& message, Duration timeout=Duration::FOREVER);
/**
* Retrieves a message for this receivers subscription or waits
* for up to the specified timeout for one to become
@@ -85,52 +85,52 @@ class Receiver : public qpid::messaging::Handle<ReceiverImpl>
* after waiting for the specified timeout, or if the Receiver is
* closed, in which case isClose() will be true.
*/
- QPID_CLIENT_EXTERN Message fetch(Duration timeout=Duration::FOREVER);
+ QPID_MESSAGING_EXTERN Message fetch(Duration timeout=Duration::FOREVER);
/**
* Sets the capacity for the receiver. The capacity determines how
* many incoming messages can be held in the receiver before being
* requested by a client via fetch() (or pushed to a listener).
*/
- QPID_CLIENT_EXTERN void setCapacity(uint32_t);
+ QPID_MESSAGING_EXTERN void setCapacity(uint32_t);
/**
* @return the capacity of the receiver. The capacity determines
* how many incoming messages can be held in the receiver before
* being requested by a client via fetch() (or pushed to a
* listener).
*/
- QPID_CLIENT_EXTERN uint32_t getCapacity();
+ QPID_MESSAGING_EXTERN uint32_t getCapacity();
/**
* @return the number of messages received and waiting to be
* fetched.
*/
- QPID_CLIENT_EXTERN uint32_t getAvailable();
+ QPID_MESSAGING_EXTERN uint32_t getAvailable();
/**
* @return a count of the number of messages received on this
* receiver that have been acknowledged, but for which that
* acknowledgement has not yet been confirmed as processed by the
* server.
*/
- QPID_CLIENT_EXTERN uint32_t getUnsettled();
+ QPID_MESSAGING_EXTERN uint32_t getUnsettled();
/**
* Cancels this receiver.
*/
- QPID_CLIENT_EXTERN void close();
+ QPID_MESSAGING_EXTERN void close();
/**
* Return true if the receiver was closed by a call to close()
*/
- QPID_CLIENT_EXTERN bool isClosed() const;
+ QPID_MESSAGING_EXTERN bool isClosed() const;
/**
* Returns the name of this receiver.
*/
- QPID_CLIENT_EXTERN const std::string& getName() const;
+ QPID_MESSAGING_EXTERN const std::string& getName() const;
/**
* Returns a handle to the session associated with this receiver.
*/
- QPID_CLIENT_EXTERN Session getSession() const;
+ QPID_MESSAGING_EXTERN Session getSession() const;
private:
friend class qpid::messaging::PrivateImplRef<Receiver>;