From 35d9dc572a918015c038245725b0f9894b13132a Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 21 May 2008 21:40:49 +0000 Subject: QPID-1087 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658886 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/AsynchIOHandler.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cpp/src/qpid/sys/AsynchIOHandler.cpp') diff --git a/cpp/src/qpid/sys/AsynchIOHandler.cpp b/cpp/src/qpid/sys/AsynchIOHandler.cpp index 31974993bb..ca2bd7c93c 100644 --- a/cpp/src/qpid/sys/AsynchIOHandler.cpp +++ b/cpp/src/qpid/sys/AsynchIOHandler.cpp @@ -36,14 +36,13 @@ struct Buff : public AsynchIO::BufferBase { { delete [] bytes;} }; -AsynchIOHandler::AsynchIOHandler(std::string id, ConnectionCodec::Factory* f, ProtocolAccess* a) : +AsynchIOHandler::AsynchIOHandler(std::string id, ConnectionCodec::Factory* f) : identifier(id), aio(0), factory(f), codec(0), readError(false), - isClient(false), - access(a) + isClient(false) {} AsynchIOHandler::~AsynchIOHandler() { @@ -153,7 +152,7 @@ void AsynchIOHandler::nobuffs(AsynchIO&) { void AsynchIOHandler::idle(AsynchIO&){ if (isClient && codec == 0) { - codec = factory->create(*this, identifier, access); + codec = factory->create(*this, identifier); write(framing::ProtocolInitiation(codec->getVersion())); return; } -- cgit v1.2.1