diff options
| author | Gordon Sim <gsim@apache.org> | 2008-04-21 14:37:03 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-04-21 14:37:03 +0000 |
| commit | 61647950e1c4e6b1efb0a1b3f3b220783680103f (patch) | |
| tree | f666cacf0e56079e23ef0a9c881d26baa7d5a1fe /cpp/src/qpid/client/SessionImpl.h | |
| parent | ceca53c26ab6ed56929dc558b3255bdd83090315 (diff) | |
| download | qpid-python-61647950e1c4e6b1efb0a1b3f3b220783680103f.tar.gz | |
QPID-920: send message-accept for acks (as well as completion)
* AckPolicy now maintains a set of transfered messages for cumulative accepts
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.h')
| -rw-r--r-- | cpp/src/qpid/client/SessionImpl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.h b/cpp/src/qpid/client/SessionImpl.h index 1284670389..eb1c0acb97 100644 --- a/cpp/src/qpid/client/SessionImpl.h +++ b/cpp/src/qpid/client/SessionImpl.h @@ -87,6 +87,7 @@ public: bool isComplete(const framing::SequenceNumber& id); bool isCompleteUpTo(const framing::SequenceNumber& id); void waitForCompletion(const framing::SequenceNumber& id); + void sendCompletion(); //NOTE: these are called by the network thread when the connection is closed or dies void connectionClosed(uint16_t code, const std::string& text); @@ -122,7 +123,7 @@ private: void sendContent(const framing::MethodContent&); void waitForCompletionImpl(const framing::SequenceNumber& id); - void sendCompletion(); + void sendCompletionImpl(); // Note: Following methods are called by network thread in // response to session controls from the broker |
