summaryrefslogtreecommitdiff
path: root/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
commit17901dc92b36cdd2af8f96771107bf5594beb3ce (patch)
tree1ba9c01f77e8555e6cd243a833d6b30619e4d6a5 /cpp/src/qpid/sys/Socket.h
parentc3dc35783ba563428aa13ef971fb0950b046e250 (diff)
downloadqpid-python-17901dc92b36cdd2af8f96771107bf5594beb3ce.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/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
-rw-r--r--cpp/src/qpid/sys/Socket.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h
index 2080ec9454..db4cab4c15 100644
--- a/cpp/src/qpid/sys/Socket.h
+++ b/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.