diff options
author | Vincent Richard <[email protected]> | 2005-10-04 18:49:59 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-10-04 18:49:59 +0000 |
commit | 3ec0f17ade68adec05f8b0af40c61a4f3a595b75 (patch) | |
tree | 990440f5b6803c237c2d72ee298724df176f9e93 /src/net/service.cpp | |
parent | Added service::setSocketFactory(). (diff) | |
download | vmime-3ec0f17ade68adec05f8b0af40c61a4f3a595b75.tar.gz vmime-3ec0f17ade68adec05f8b0af40c61a4f3a595b75.zip |
Added service::setTimeoutHandlerFactory().
Diffstat (limited to 'src/net/service.cpp')
-rw-r--r-- | src/net/service.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/service.cpp b/src/net/service.cpp index 1589f3f2..8dde675a 100644 --- a/src/net/service.cpp +++ b/src/net/service.cpp @@ -123,5 +123,17 @@ ref <socketFactory> service::getSocketFactory() } +void service::setTimeoutHandlerFactory(ref <timeoutHandlerFactory> thf) +{ + m_toHandlerFactory = thf; +} + + +ref <timeoutHandlerFactory> service::getTimeoutHandlerFactory() +{ + return m_toHandlerFactory; +} + + } // net } // vmime |