diff options
Diffstat (limited to 'cpp/src/qpid/sys/Socket.h')
-rw-r--r-- | cpp/src/qpid/sys/Socket.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/Socket.h b/cpp/src/qpid/sys/Socket.h index cab95654ad..20dc0f1ce3 100644 --- a/cpp/src/qpid/sys/Socket.h +++ b/cpp/src/qpid/sys/Socket.h @@ -103,8 +103,16 @@ 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&); + private: - Socket(IOHandlePrivate*); + Socket(IOHandlePrivate*); }; }} |