VOffice OSX
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Mar 5 04:37:33 CST 2007
On 5/3/07 12:16 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
> Exactly my thought.
>
> I would prefer that the Isconnected method, simply verifies IF a
> connection is alive and let the developper decide if he wants to
> restore the connection;
Second.
IsConencted() will NOT do automatic reconnect!
But since this is normal command to server, then server "correct" timeout
counter for this client.
> THis way it is simple to query the connection (while the user is gone
> drinking coffee) and present a dialog box when disconnected asking
> feedback from the user (that he will see when he comes back to the
> machine, maybe 3 hours later). So this way the disconnect will happen
> after the set timeout and we can reconnect the moment we have
> feedback from the user.
It is up to your code.
Do not make IsConnected() each 10 seconds,
But make it only before some command as Thorsten suggests.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list