From 742917a3821fd35e8b9e753ed380d10ec3f21bf9 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 13 Mar 2013 17:15:30 +0100 Subject: [PATCH] Rewrote text for better understanding. --- doc/book/net.tex | 5 +++-- 1 file 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.