summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Session.h
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-03-30 20:02:35 +0000
committerStephen D. Huston <shuston@apache.org>2010-03-30 20:02:35 +0000
commite87e7af34a950629ccdbfefda73789b23ea9c0ff (patch)
tree3171a63324f0fdb2ba2f96ed3e29dedf927be8a2 /cpp/include/qpid/messaging/Session.h
parent03bc83e5b05972b95d4001363dbef140aa02bc4b (diff)
downloadqpid-python-e87e7af34a950629ccdbfefda73789b23ea9c0ff.tar.gz
Rename Duration::INFINITE to Duration::FOREVER; resolves QPID-2475.
Added missing QPID_CLIENT_EXTERN where needed in Duration class to build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929240 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Session.h')
-rw-r--r--cpp/include/qpid/messaging/Session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h
index bc5aaed6ba..eaecb69260 100644
--- a/cpp/include/qpid/messaging/Session.h
+++ b/cpp/include/qpid/messaging/Session.h
@@ -102,7 +102,7 @@ class Session : public qpid::messaging::Handle<SessionImpl>
* which case the passed in receiver reference will be set to the
* receiver for that message or false if no message was available.
*/
- QPID_CLIENT_EXTERN bool nextReceiver(Receiver&, Duration timeout=Duration::INFINITE);
+ QPID_CLIENT_EXTERN bool nextReceiver(Receiver&, Duration timeout=Duration::FOREVER);
/**
* Returns the receiver for the next available message. If there
* are no available messages at present the call will block for up
@@ -111,7 +111,7 @@ class Session : public qpid::messaging::Handle<SessionImpl>
*@exception Receiver::NoMessageAvailable if no message became available in
* time.
*/
- QPID_CLIENT_EXTERN Receiver nextReceiver(Duration timeout=Duration::INFINITE);
+ QPID_CLIENT_EXTERN Receiver nextReceiver(Duration timeout=Duration::FOREVER);
/**
* Create a new sender through which messages can be sent to the