aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-13 16:15:30 +0000
committerVincent Richard <[email protected]>2013-03-13 16:15:36 +0000
commit742917a3821fd35e8b9e753ed380d10ec3f21bf9 (patch)
treef72aa4064b10268ba5d36bd534611dd4f5395132 /doc
parentTravis-CI: install CppUnit for unit testing. (diff)
downloadvmime-742917a3821fd35e8b9e753ed380d10ec3f21bf9.tar.gz
vmime-742917a3821fd35e8b9e753ed380d10ec3f21bf9.zip
Rewrote text for better understanding.
Diffstat (limited to 'doc')
-rw-r--r--doc/book/net.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/book/net.tex b/doc/book/net.tex
index 6977c290..52ba665a 100644
--- a/doc/book/net.tex
+++ b/doc/book/net.tex
@@ -701,8 +701,9 @@ class timeoutHandler : public object
\end{lstlisting}
While the operation runs, the service calls {\vcode isTimeout()} at variable
-intervals. If the function returns {\vcode true}, then
-{\vcode handleTimeout()} is called. If it also returns {\vcode true}, the
+intervals. If the {\vcode isTimeout()} function returns {\vcode true},
+then {\vcode handleTimeout()} is called. If the {\vcode handleTimeout()}
+function also returns {\vcode true}, the
operation is cancelled and an {\vcode operation\_timed\_out} exception is
thrown. The function {\vcode resetTimeout()} is called each time data has
been received from the server to reset time-out delay.