summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/SessionHandlerImpl.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-02-19 16:02:25 +0000
committerGordon Sim <gsim@apache.org>2008-02-19 16:02:25 +0000
commit321153d64eccde228d4dd8d9c9833e2b259d8c05 (patch)
treeb389cffb773fa032be18c68772acc6b78cbabde9 /cpp/lib/broker/SessionHandlerImpl.h
parent4351730550bc48c4237de4e616f8e420e084c081 (diff)
downloadqpid-python-321153d64eccde228d4dd8d9c9833e2b259d8c05.tar.gz
Moved c++ to 0-9, based on a spec file with all the WIP stuff removed manually to avoid having to tinker with generator to exclude it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/SessionHandlerImpl.h')
-rw-r--r--cpp/lib/broker/SessionHandlerImpl.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/cpp/lib/broker/SessionHandlerImpl.h b/cpp/lib/broker/SessionHandlerImpl.h
index 92aa0ff456..1d81b6503f 100644
--- a/cpp/lib/broker/SessionHandlerImpl.h
+++ b/cpp/lib/broker/SessionHandlerImpl.h
@@ -162,7 +162,7 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler,
u_int16_t classId, u_int16_t methodId);
virtual void closeOk(u_int16_t channel);
-
+
virtual ~ChannelHandlerImpl(){}
};
@@ -200,6 +200,13 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler,
const string& exchange, const string& routingKey, bool nowait,
const qpid::framing::FieldTable& arguments);
+ virtual void unbind(u_int16_t channel,
+ u_int16_t ticket,
+ const string& queue,
+ const string& exchange,
+ const string& routingKey,
+ const framing::FieldTable& arguments);
+
virtual void purge(u_int16_t channel, u_int16_t ticket, const string& queue,
bool nowait);
@@ -235,6 +242,8 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler,
virtual void reject(u_int16_t channel, u_int64_t deliveryTag, bool requeue);
virtual void recover(u_int16_t channel, bool requeue);
+
+ virtual void recoverSync(u_int16_t channel, bool requeue);
virtual ~BasicHandlerImpl(){}
};
@@ -262,10 +271,6 @@ class SessionHandlerImpl : public virtual qpid::sys::SessionHandler,
inline virtual StreamHandler* getStreamHandler(){ throw ConnectionException(540, "Stream class not implemented"); }
inline virtual DtxHandler* getDtxHandler(){ throw ConnectionException(540, "Dtx class not implemented"); }
inline virtual TunnelHandler* getTunnelHandler(){ throw ConnectionException(540, "Tunnel class not implemented"); }
-
- // Temporary add-in to resolve version conflicts: AMQP v8.0 still defines class Test;
- // however v0.9 will not - kpvdr 2006-11-17
- inline virtual TestHandler* getTestHandler(){ throw ConnectionException(540, "Test class not implemented"); }
};
}