summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/SessionState.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-04 17:24:10 +0000
committerAlan Conway <aconway@apache.org>2008-06-04 17:24:10 +0000
commit8654fb2db74eacff8ec943d192f80ef1fd512f6e (patch)
treeeb07d031edc4a1672a2adee60a0885f665bd9d16 /cpp/src/qpid/SessionState.h
parent656a4f3d5fcea275f954e3d1c9eaa5087a2e7005 (diff)
downloadqpid-python-8654fb2db74eacff8ec943d192f80ef1fd512f6e.tar.gz
Request a timely reqply to session.completed based on configured flush interval.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663318 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/SessionState.h')
-rw-r--r--cpp/src/qpid/SessionState.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/SessionState.h b/cpp/src/qpid/SessionState.h
index 80d218b8bb..10937b7a1e 100644
--- a/cpp/src/qpid/SessionState.h
+++ b/cpp/src/qpid/SessionState.h
@@ -148,6 +148,11 @@ class SessionState {
/** Peer has indicated commands are known completed */
virtual void receiverKnownCompleted(const SequenceSet& commands);
+ /** True if the next completed control should set the timely-reply argument
+ * to request a knonw-completed response.
+ */
+ virtual bool receiverNeedKnownCompleted() const;
+
/** Get the incoming command point */
virtual const SessionPoint& receiverGetExpected() const;
@@ -184,6 +189,7 @@ class SessionState {
SessionPoint received; // Received to here. Invariant: expected <= received.
SequenceSet unknownCompleted; // Received & completed, may not not known-complete by peer.
SequenceSet incomplete; // Incomplete received commands.
+ size_t bytesSinceKnownCompleted; // Bytes sent since we last issued a knownCompleted.
} receiver;
SessionId id;