Rewrote text for better understanding.

This commit is contained in:
Vincent Richard 2013-03-13 17:15:30 +01:00
parent 8c1f507e21
commit 742917a382

View File

@ -701,8 +701,9 @@ class timeoutHandler : public object
\end{lstlisting} \end{lstlisting}
While the operation runs, the service calls {\vcode isTimeout()} at variable While the operation runs, the service calls {\vcode isTimeout()} at variable
intervals. If the function returns {\vcode true}, then intervals. If the {\vcode isTimeout()} function returns {\vcode true},
{\vcode handleTimeout()} is called. If it also returns {\vcode true}, the 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 operation is cancelled and an {\vcode operation\_timed\_out} exception is
thrown. The function {\vcode resetTimeout()} is called each time data has thrown. The function {\vcode resetTimeout()} is called each time data has
been received from the server to reset time-out delay. been received from the server to reset time-out delay.