summaryrefslogtreecommitdiff
path: root/cpp/src
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
commit56c8e15171dae96958cd9106e2e05abbf02739fc (patch)
tree0f548c75148764f84b9b71953ec9d9d9107d69bf /cpp/src
parent54e20edd9e6b6930b73023fc7fe28e2bfdfb004f (diff)
downloadqpid-python-56c8e15171dae96958cd9106e2e05abbf02739fc.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/qpid@901546 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/RdmaConnector.cpp2
-rw-r--r--cpp/src/qpid/client/SslConnector.cpp2
-rw-r--r--cpp/src/qpid/client/TCPConnector.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/RdmaConnector.cpp b/cpp/src/qpid/client/RdmaConnector.cpp
index 77169db3a6..ea3566dacb 100644
--- a/cpp/src/qpid/client/RdmaConnector.cpp
+++ b/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/cpp/src/qpid/client/SslConnector.cpp b/cpp/src/qpid/client/SslConnector.cpp
index 5cdaaa4615..2b34651fa0 100644
--- a/cpp/src/qpid/client/SslConnector.cpp
+++ b/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/cpp/src/qpid/client/TCPConnector.h b/cpp/src/qpid/client/TCPConnector.h
index 6dc07d1f5d..7499b26fd2 100644
--- a/cpp/src/qpid/client/TCPConnector.h
+++ b/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