summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Socket.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-08-05 17:03:16 +0000
committerGordon Sim <gsim@apache.org>2008-08-05 17:03:16 +0000
commitbd47fd629bb2356df93af70b174a6a070f3a58cc (patch)
treec92b2cc932fe806ce9e41521de9f4d01557ec2ba /cpp/src/qpid/sys/Socket.h
parent6bed4cf29dda54560af44d16143fa4b24b65245b (diff)
downloadqpid-python-bd47fd629bb2356df93af70b174a6a070f3a58cc.tar.gz
* revised approach for setting tcp-nodelay on client to avoid breaking platform abstractions
* added ability to set tcp-nodelay on server side of the socket also Merged from r682785. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
-rw-r--r--cpp/src/qpid/sys/Socket.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h
index 45a8bb588e..dd7ef9a96d 100644
--- a/cpp/src/qpid/sys/Socket.h
+++ b/cpp/src/qpid/sys/Socket.h
@@ -98,13 +98,7 @@ public:
int read(void *buf, size_t count) const;
int write(const void *buf, size_t count) const;
- struct Configuration
- {
- virtual void configurePosixTcpSocket(int fd) const = 0;
- virtual ~Configuration() {}
- };
-
- void configure(const Configuration&);
+ void setTcpNoDelay(bool nodelay) const;
private:
Socket(IOHandlePrivate*);