summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Socket.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-29 20:27:28 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-29 20:27:28 +0000
commitd1a58e417bde9265a2141dcf71db88c8d7fbd455 (patch)
tree75fe4b185c3690637e95b543efe987ee7a255385 /cpp/src/qpid/sys/Socket.h
parent9fb1b9ad28b5790bf4d782373d4138afa10a8bff (diff)
downloadqpid-python-d1a58e417bde9265a2141dcf71db88c8d7fbd455.tar.gz
Removed unused functions
Removed unused Thread and Socket functions - These functions also cause problems with Solaris compilations Remove unused client connector functionality git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
-rw-r--r--cpp/src/qpid/sys/Socket.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h
index 9a1e0afc77..45a8bb588e 100644
--- a/cpp/src/qpid/sys/Socket.h
+++ b/cpp/src/qpid/sys/Socket.h
@@ -21,6 +21,7 @@
* under the License.
*
*/
+
#include "IOHandle.h"
#include <string>
@@ -51,17 +52,6 @@ public:
void close() const;
- enum { SOCKET_TIMEOUT=-2, SOCKET_EOF=-3 } ErrorCode;
-
- /** Returns bytes sent or an ErrorCode value < 0. */
- ssize_t send(const void* data, size_t size) const;
-
- /**
- * Returns bytes received, an ErrorCode value < 0 or 0
- * if the connection closed in an orderly manner.
- */
- ssize_t recv(void* data, size_t size) const;
-
/** Bind to a port and start listening.
*@param port 0 means choose an available port.
*@param backlog maximum number of pending connections.