summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-01-21 06:14:00 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-01-21 06:14:00 +0000
commit9704fc10a255296812334e98d5ff5f5fa62fd3a6 (patch)
treefbb9c1eb6108bff2b2994e67091bc762769281ee /qpid/cpp
parentbd78b67615f1b19fb57f429476580c3bf37615aa (diff)
downloadqpid-python-9704fc10a255296812334e98d5ff5f5fa62fd3a6.tar.gz
Made the getSSF() member functions of Connectors private as they can't be used from outside
the connector anyway except via the virtual in the parent class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@901546 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/client/RdmaConnector.cpp2
-rw-r--r--qpid/cpp/src/qpid/client/SslConnector.cpp2
-rw-r--r--qpid/cpp/src/qpid/client/TCPConnector.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/client/RdmaConnector.cpp b/qpid/cpp/src/qpid/client/RdmaConnector.cpp
index 77169db3a6..ea3566dacb 100644
--- a/qpid/cpp/src/qpid/client/RdmaConnector.cpp
+++ b/qpid/cpp/src/qpid/client/RdmaConnector.cpp
@@ -113,6 +113,7 @@ using boost::str;
framing::OutputHandler* getOutputHandler();
const std::string& getIdentifier() const;
void activateSecurityLayer(std::auto_ptr<qpid::sys::SecurityLayer>);
+ unsigned int getSSF() { return 0; }
size_t decode(const char* buffer, size_t size);
size_t encode(const char* buffer, size_t size);
@@ -122,7 +123,6 @@ public:
RdmaConnector(framing::ProtocolVersion pVersion,
const ConnectionSettings&,
ConnectionImpl*);
- unsigned int getSSF() { return 0; }
};
// Static constructor which registers connector here
diff --git a/qpid/cpp/src/qpid/client/SslConnector.cpp b/qpid/cpp/src/qpid/client/SslConnector.cpp
index 5cdaaa4615..2b34651fa0 100644
--- a/qpid/cpp/src/qpid/client/SslConnector.cpp
+++ b/qpid/cpp/src/qpid/client/SslConnector.cpp
@@ -130,12 +130,12 @@ class SslConnector : public Connector, private sys::Runnable
sys::ShutdownHandler* getShutdownHandler() const;
framing::OutputHandler* getOutputHandler();
const std::string& getIdentifier() const;
+ unsigned int getSSF() { return socket.getKeyLen(); }
public:
SslConnector(framing::ProtocolVersion pVersion,
const ConnectionSettings&,
ConnectionImpl*);
- unsigned int getSSF() { return socket.getKeyLen(); }
};
// Static constructor which registers connector here
diff --git a/qpid/cpp/src/qpid/client/TCPConnector.h b/qpid/cpp/src/qpid/client/TCPConnector.h
index 6dc07d1f5d..7499b26fd2 100644
--- a/qpid/cpp/src/qpid/client/TCPConnector.h
+++ b/qpid/cpp/src/qpid/client/TCPConnector.h
@@ -100,6 +100,7 @@ class TCPConnector : public Connector, public sys::Codec, private sys::Runnable
framing::OutputHandler* getOutputHandler();
const std::string& getIdentifier() const;
void activateSecurityLayer(std::auto_ptr<qpid::sys::SecurityLayer>);
+ unsigned int getSSF() { return 0; }
size_t decode(const char* buffer, size_t size);
size_t encode(const char* buffer, size_t size);
@@ -109,7 +110,6 @@ public:
TCPConnector(framing::ProtocolVersion pVersion,
const ConnectionSettings&,
ConnectionImpl*);
- unsigned int getSSF() { return 0; }
};
}} // namespace qpid::client