Subject | Graceful disconnect/reconnect for TIB_database after network loss or server rebo |
---|---|
Author | mike_iws2000 |
Post date | 2005-07-16T19:12:05Z |
I am trying to make more robust. Given a consistent connection,
everything works the way it is
supposed to. However, if a network connection is dropped, I am trying
to create a graceful way to:
1) Detect the disconnect and put my clients in a corresponding
recognizable state
2) Automatically keep retrying to connect and once establish place the
client application back in service.
I am using IB Objects TIB_database to connect to a Firebird 1.5
database.
I have looked through the help files on IBO but cannot find a decent
reference on how to approach this problem.
It seems to me everyone would try to handle this I just wanted to see
different approaches other developers have taken.
Thanks,
Mike
everything works the way it is
supposed to. However, if a network connection is dropped, I am trying
to create a graceful way to:
1) Detect the disconnect and put my clients in a corresponding
recognizable state
2) Automatically keep retrying to connect and once establish place the
client application back in service.
I am using IB Objects TIB_database to connect to a Firebird 1.5
database.
I have looked through the help files on IBO but cannot find a decent
reference on how to approach this problem.
It seems to me everyone would try to handle this I just wanted to see
different approaches other developers have taken.
Thanks,
Mike