[Ace-users] [tao-users] Reconnecting detail

samuel Gonzalez gonzasamuel at gmail.com
Mon Dec 3 18:03:26 CST 2007


Hello,
I'm trying to learn how can I reconnect consumers and suppliers when Notify
Service, consumers or suppliers, shutdown

I read some docs and test the reconnecting test
../orbsvcs/tests/Notify/Reconnecting

When I look reconnecting code I understand that saving information about
channels ID, etc, make possible the reconnection.

I look that the first of consumer or supplier that connect create the
channel using
   ec_ = this->ecf_->create_channel (   qosprops,   adminprops,
this->ec_id_);
this function return ChannelID used in a reconnection process.

However the only way that I found to obtain the channelID  is  this
function. It means that only the entity that create channel, knows
ChannelID.

Exist another way to obtain the channelID, from consumers and suppliers?

Some kind of function that I pass Channel Name and returns de ChannelID in
some way.

If this function exist, I don't need to synchronize network files for make
the reconnection, like reconnection test..

Thanks for all
GS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20071203/06defa84/attachment.html 


More information about the Ace-users mailing list