diff options
| author | Gordon Sim <gsim@apache.org> | 2010-08-20 09:29:31 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-08-20 09:29:31 +0000 |
| commit | 91a4eda9bfa588f1d017c218ac2bcc9713338ef2 (patch) | |
| tree | ac6e1293404f93a7b14b88fc5eab3fa4a51e033e /cpp/src/qpid/client/StateManager.h | |
| parent | 6217978d75d7c80f3069e5c39a85f32d744f70e1 (diff) | |
| download | qpid-python-91a4eda9bfa588f1d017c218ac2bcc9713338ef2.tar.gz | |
QPID-2817: on close, wait for at most the heartbeat interval (if specified) for close-ok response from broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/StateManager.h')
| -rw-r--r-- | cpp/src/qpid/client/StateManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/StateManager.h b/cpp/src/qpid/client/StateManager.h index 3c8412dfa7..f06dbc493c 100644 --- a/cpp/src/qpid/client/StateManager.h +++ b/cpp/src/qpid/client/StateManager.h @@ -41,6 +41,8 @@ public: void waitForStateChange(int current); void waitFor(std::set<int> states); void waitFor(int state); + bool waitFor(std::set<int> states, qpid::sys::Duration); + bool waitFor(int state, qpid::sys::Duration); }; }} |
