summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/SslConnector.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-05-28 06:07:19 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-05-28 06:07:19 +0000
commitce6f7a2cd0a604e12e72e99f017edab9c2f2f24b (patch)
treedb41e5d12305767d62b26bc1031fe7219ef0f1ef /cpp/src/qpid/client/SslConnector.cpp
parent4737a65543783790cd1bd3be66ef66956746e12e (diff)
downloadqpid-python-ce6f7a2cd0a604e12e72e99f017edab9c2f2f24b.tar.gz
QPID-1879 Removed some code obsoleted by this change
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SslConnector.cpp')
-rw-r--r--cpp/src/qpid/client/SslConnector.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/src/qpid/client/SslConnector.cpp b/cpp/src/qpid/client/SslConnector.cpp
index 8194371b8a..635de1f62d 100644
--- a/cpp/src/qpid/client/SslConnector.cpp
+++ b/cpp/src/qpid/client/SslConnector.cpp
@@ -89,7 +89,6 @@ class SslConnector : public Connector
sys::Mutex closedLock;
bool closed;
- bool joined;
sys::ShutdownHandler* shutdownHandler;
framing::InputHandler* input;
@@ -115,8 +114,6 @@ class SslConnector : public Connector
std::string identifier;
- ConnectionImpl* impl;
-
void connect(const std::string& host, int port);
void init();
void close();
@@ -174,12 +171,10 @@ SslConnector::SslConnector(Poller::shared_ptr p,
version(ver),
initiated(false),
closed(true),
- joined(true),
shutdownHandler(0),
writer(maxFrameSize, cimpl),
aio(0),
- poller(p),
- impl(cimpl)
+ poller(p)
{
QPID_LOG(debug, "SslConnector created for " << version.toString());
//TODO: how do we want to handle socket configuration with ssl?
@@ -214,10 +209,8 @@ void SslConnector::connect(const std::string& host, int port){
void SslConnector::init(){
Mutex::ScopedLock l(closedLock);
- assert(joined);
ProtocolInitiation init(version);
writeDataBlock(init);
- joined = false;
for (int i = 0; i < 32; i++) {
aio->queueReadBuffer(new Buff(maxFrameSize));
}