diff options
| author | Ted Ross <tross@apache.org> | 2008-05-21 21:40:49 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-05-21 21:40:49 +0000 |
| commit | 35d9dc572a918015c038245725b0f9894b13132a (patch) | |
| tree | d9efecaeab11e12f0b2f2d87ff7f202383eaa6a0 /cpp/src/qpid/sys/AsynchIOHandler.cpp | |
| parent | 28404c0026b5bed8ad4ad37d52cd4d3aab5c70bc (diff) | |
| download | qpid-python-35d9dc572a918015c038245725b0f9894b13132a.tar.gz | |
QPID-1087
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@658886 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/AsynchIOHandler.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/AsynchIOHandler.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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; } |
