aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/service.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-10-04 18:49:59 +0000
committerVincent Richard <[email protected]>2005-10-04 18:49:59 +0000
commit3ec0f17ade68adec05f8b0af40c61a4f3a595b75 (patch)
tree990440f5b6803c237c2d72ee298724df176f9e93 /src/net/service.cpp
parentAdded service::setSocketFactory(). (diff)
downloadvmime-3ec0f17ade68adec05f8b0af40c61a4f3a595b75.tar.gz
vmime-3ec0f17ade68adec05f8b0af40c61a4f3a595b75.zip
Added service::setTimeoutHandlerFactory().
Diffstat (limited to 'src/net/service.cpp')
-rw-r--r--src/net/service.cpp12
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