[Ace-users] [tao-users] TAO/CORBA: Way to find out if a CORBA client is still alive?

Jules Colding colding at omesc.com
Fri Oct 12 12:15:57 CDT 2007


On Fri, 2007-10-12 at 15:28 +0200, Johnny Willemsen wrote:
> Hi,
> 
> You will need to make some server in your client and you can then use
> _validate_connection() as ping method.

Is _validate_connection() any faster/better than an IDL defined ping()
method?

Best regards,
  jules


> Regards,
> 
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC  Berkel en Rodenrijs
> The Netherlands
> www.theaceorb.nl / www.remedy.nl  
> 
> *** Integrated compile and test statistics see
> http://scoreboard.theaceorb.nl ***
> *** Commercial service and support for ACE/TAO/CIAO             ***
> *** See http://www.theaceorb.nl/en/support.html                 ***
> 
> "antred" <NutJob at gmx.net> wrote in message
> news:<1191936610.995328.260160 at y42g2000hsy.googlegroups.com>...
> > Hello,
> > 
> > Does anyone know of a way to check (on the server side, obviously) if
> > a CORBA client is still alive?  I have a CORBA servers that takes
> > measures to ensure that only CORBA client at a time can do certain
> > things. I'm using a thread-per-connection model and store the thread
> > ID of a the client thread that is deemed the current 'owner' of a lock
> > which must be acquired before some of the operations provided by my
> > server can be called. When another client thread tries to acquire this
> > lock I want to check if the current owner is still connected or not.
> > Is there a way to do this? I've head of the _non_existent() function
> > but I was told that this requires the clients to implement a CORBA
> > server, too, and this is simply not possible in my case. Thanks in
> > advance for any helpful replies!
> > 
> > ant
> > 
> 
> _______________________________________________
> tao-users mailing list
> tao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/tao-users



More information about the Ace-users mailing list