diff options
Diffstat (limited to 'src/vmime/net/socket.hpp')
-rw-r--r-- | src/vmime/net/socket.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vmime/net/socket.hpp b/src/vmime/net/socket.hpp index 537c34bb..7f878a73 100644 --- a/src/vmime/net/socket.hpp +++ b/src/vmime/net/socket.hpp @@ -141,6 +141,12 @@ public: */ virtual const string getPeerAddress() const = 0; + /** Return the timeout handler associated with this socket. + * + * @return timeout handler, or NULL if none is set + */ + virtual shared_ptr <timeoutHandler> getTimeoutHandler() = 0; + protected: socket() { } |