diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2007-06-29 18:56:11 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2007-06-29 18:56:11 +0000 |
| commit | a258bbcaf007d20d943669b7ee6223016dd08d66 (patch) | |
| tree | 0ea6092222386ebed2fb92c1d809d4eb7fa37557 /cpp/src/qpid/sys/posix/EventChannelConnection.h | |
| parent | f830f28dca100d70631af25e082000cf7aed540d (diff) | |
| download | qpid-python-a258bbcaf007d20d943669b7ee6223016dd08d66.tar.gz | |
* More work on asychronous network IO
* Fix of current EventQueue code to carry on compiling
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@552001 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/posix/EventChannelConnection.h')
| -rw-r--r-- | cpp/src/qpid/sys/posix/EventChannelConnection.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cpp/src/qpid/sys/posix/EventChannelConnection.h b/cpp/src/qpid/sys/posix/EventChannelConnection.h index 394df55fd9..a4ca5de517 100644 --- a/cpp/src/qpid/sys/posix/EventChannelConnection.h +++ b/cpp/src/qpid/sys/posix/EventChannelConnection.h @@ -50,17 +50,11 @@ class EventChannelConnection : public ConnectionOutputHandler { bool isTrace = false ); - // TODO aconway 2006-11-30: SessionContext::send should take auto_ptr - virtual void send(qpid::framing::AMQFrame* frame) { - send(std::auto_ptr<qpid::framing::AMQFrame>(frame)); - } - - virtual void send(std::auto_ptr<qpid::framing::AMQFrame> frame); - + virtual void send(qpid::framing::AMQFrame& frame); virtual void close(); private: - typedef boost::ptr_deque<qpid::framing::AMQFrame> FrameQueue; + typedef std::deque<qpid::framing::AMQFrame> FrameQueue; typedef void (EventChannelConnection::*MemberFnPtr)(); struct ScopedBusy; |
