summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/sys/Socket.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:27 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-05-26 20:38:27 +0000
commit266fc1d8eea16d35359c2afe7fb09905ef51dafe (patch)
tree98c0f592de315f3cea74125719a3bb84e6cd7834 /qpid/cpp/src/qpid/sys/Socket.h
parent46bec4ce2ac0e8260eee6c5e2986bae0f6dafbec (diff)
downloadqpid-python-266fc1d8eea16d35359c2afe7fb09905ef51dafe.tar.gz
NO-JIRA: Remove a lot of redundant stuff from the Socket code
- Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/sys/Socket.h')
-rw-r--r--qpid/cpp/src/qpid/sys/Socket.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/qpid/cpp/src/qpid/sys/Socket.h b/qpid/cpp/src/qpid/sys/Socket.h
index 2080ec9454..db4cab4c15 100644
--- a/qpid/cpp/src/qpid/sys/Socket.h
+++ b/qpid/cpp/src/qpid/sys/Socket.h
@@ -39,9 +39,6 @@ public:
/** Create a socket wrapper for descriptor. */
QPID_COMMON_EXTERN Socket();
- /** Set timeout for read and write */
- void setTimeout(const Duration& interval) const;
-
/** Set socket non blocking */
void setNonblocking() const;
@@ -60,16 +57,6 @@ public:
QPID_COMMON_EXTERN int listen(const std::string& host = "", const std::string& port = "0", int backlog = 10) const;
QPID_COMMON_EXTERN int listen(const SocketAddress&, int backlog = 10) const;
- /** Returns the "socket name" ie the address bound to
- * the near end of the socket
- */
- QPID_COMMON_EXTERN std::string getSockname() const;
-
- /** Returns the "peer name" ie the address bound to
- * the remote end of the socket
- */
- std::string getPeername() const;
-
/**
* Returns an address (host and port) for the remote end of the
* socket
@@ -86,9 +73,6 @@ public:
*/
QPID_COMMON_INLINE_EXTERN std::string getFullAddress() const { return getLocalAddress()+"-"+getPeerAddress(); }
- QPID_COMMON_EXTERN uint16_t getLocalPort() const;
- uint16_t getRemotePort() const;
-
/**
* Returns the error code stored in the socket. This may be used
* to determine the result of a non-blocking connect.