summaryrefslogtreecommitdiff
path: root/cpp/lib/common/sys/posix/EventChannelConnection.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-16 20:17:50 +0000
committerAlan Conway <aconway@apache.org>2007-01-16 20:17:50 +0000
commitbc84e62cc549ac2d751a45d61a867354c84c60d6 (patch)
tree160824086ea1edfd2d28f153626d378d69d0f516 /cpp/lib/common/sys/posix/EventChannelConnection.h
parent0df54842626c3cc065cad1a2595458f54253a178 (diff)
downloadqpid-python-bc84e62cc549ac2d751a45d61a867354c84c60d6.tar.gz
* Renamed Session* classes to Connection* to align with AMQP spec
- broker::SessionHandlerImpl -> broker::Connection - broker::SessionHandlerImplFactory -> broker::ConnectionFactory - sys::SessionHandler -> ConnectionInputHandler - sys::SessionHandlerFactory -> ConnectionInputHandlerFactory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/sys/posix/EventChannelConnection.h')
-rw-r--r--cpp/lib/common/sys/posix/EventChannelConnection.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/lib/common/sys/posix/EventChannelConnection.h b/cpp/lib/common/sys/posix/EventChannelConnection.h
index bace045993..1504e92651 100644
--- a/cpp/lib/common/sys/posix/EventChannelConnection.h
+++ b/cpp/lib/common/sys/posix/EventChannelConnection.h
@@ -24,17 +24,17 @@
#include "EventChannelThreads.h"
#include "sys/Monitor.h"
#include "sys/SessionContext.h"
-#include "sys/SessionHandler.h"
+#include "sys/ConnectionInputHandler.h"
#include "sys/AtomicCount.h"
#include "framing/AMQFrame.h"
namespace qpid {
namespace sys {
-class SessionHandlerFactory;
+class ConnectionInputHandlerFactory;
/**
- * Implements SessionContext and delegates to a SessionHandler
+ * Implements SessionContext and delegates to a ConnectionInputHandler
* for a connection via the EventChannel.
*@param readDescriptor file descriptor for reading.
*@param writeDescriptor file descriptor for writing,
@@ -44,7 +44,7 @@ class EventChannelConnection : public SessionContext {
public:
EventChannelConnection(
EventChannelThreads::shared_ptr threads,
- SessionHandlerFactory& factory,
+ ConnectionInputHandlerFactory& factory,
int readDescriptor,
int writeDescriptor = 0,
bool isTrace = false
@@ -86,7 +86,7 @@ class EventChannelConnection : public SessionContext {
AtomicCount busyThreads;
EventChannelThreads::shared_ptr threads;
- std::auto_ptr<SessionHandler> handler;
+ std::auto_ptr<ConnectionInputHandler> handler;
qpid::framing::Buffer in, out;
FrameQueue writeFrames;
bool isTrace;