diff options
| author | Alan Conway <aconway@apache.org> | 2006-10-31 19:53:55 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-10-31 19:53:55 +0000 |
| commit | 9094d2b10ecadd66fa3b22169183e7573cc79629 (patch) | |
| tree | bf3915f72be2a5f09932b800d2fa4309fb3ad64e /cpp/src/qpid/client | |
| parent | 0487ea40bc6568765cdec75a36273eeb26fae854 (diff) | |
| download | qpid-python-9094d2b10ecadd66fa3b22169183e7573cc79629.tar.gz | |
IO refactor phase 1. Reduced dependencies, removed redundant classes.
Renamed pricipal APR classes in preparation for move to apr namespace.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
| -rw-r--r-- | cpp/src/qpid/client/Channel.cpp | 10 | ||||
| -rw-r--r-- | cpp/src/qpid/client/Connection.cpp | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/client/ResponseHandler.cpp | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/qpid/client/Channel.cpp b/cpp/src/qpid/client/Channel.cpp index 4d994f0510..4579b6126d 100644 --- a/cpp/src/qpid/client/Channel.cpp +++ b/cpp/src/qpid/client/Channel.cpp @@ -16,8 +16,8 @@ * */ #include "qpid/client/Channel.h" -#include "qpid/concurrent/MonitorImpl.h" -#include "qpid/concurrent/ThreadFactoryImpl.h" +#include "qpid/concurrent/Monitor.h" +#include "qpid/concurrent/ThreadFactory.h" #include "qpid/client/Message.h" #include "qpid/QpidError.h" @@ -36,9 +36,9 @@ Channel::Channel(bool _transactional, u_int16_t _prefetch) : prefetch(_prefetch), transactional(_transactional) { - threadFactory = new ThreadFactoryImpl(); - dispatchMonitor = new MonitorImpl(); - retrievalMonitor = new MonitorImpl(); + threadFactory = new ThreadFactory(); + dispatchMonitor = new Monitor(); + retrievalMonitor = new Monitor(); } Channel::~Channel(){ diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index b20df92e9b..acd4488813 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/cpp/src/qpid/client/Connection.cpp @@ -17,7 +17,7 @@ */ #include "qpid/client/Connection.h" #include "qpid/client/Channel.h" -#include "qpid/io/ConnectorImpl.h" +#include "qpid/io/Connector.h" #include "qpid/client/Message.h" #include "qpid/QpidError.h" #include <iostream> @@ -30,7 +30,7 @@ using namespace qpid::concurrent; u_int16_t Connection::channelIdCounter; Connection::Connection(bool debug, u_int32_t _max_frame_size) : max_frame_size(_max_frame_size), closed(true){ - connector = new ConnectorImpl(debug, _max_frame_size); + connector = new Connector(debug, _max_frame_size); } Connection::~Connection(){ diff --git a/cpp/src/qpid/client/ResponseHandler.cpp b/cpp/src/qpid/client/ResponseHandler.cpp index ec20dd1a10..fcbc76f625 100644 --- a/cpp/src/qpid/client/ResponseHandler.cpp +++ b/cpp/src/qpid/client/ResponseHandler.cpp @@ -16,11 +16,11 @@ * */ #include "qpid/client/ResponseHandler.h" -#include "qpid/concurrent/MonitorImpl.h" +#include "qpid/concurrent/Monitor.h" #include "qpid/QpidError.h" qpid::client::ResponseHandler::ResponseHandler() : waiting(false){ - monitor = new qpid::concurrent::MonitorImpl(); + monitor = new qpid::concurrent::Monitor(); } qpid::client::ResponseHandler::~ResponseHandler(){ |
