aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/service.cpp
diff options
context:
space:
mode:
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