[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] testing if connected



Hello,
nice, server is coming back.

I would like to know if a XmlBlasterConnection opened for a long time is
reusable, or if have to reconnect.
Protocol used is CORBA.

XmlBlasterConnection could come down because of a session timeout, a
network disconnection, ...

I would like to test the availability of a connection before calling
some get(), erase(), ...methods.

XmlBlasterConnection.ping() return void and doesn't throw exception.
XmlBlasterConnection.isLogin() I don't know if it is check the
availability of the XmlBlasterConnection.

Perhaps I've to make a get() one a server variable ...

What do you think about that ??


Cyrille