[jacorb-developer] NameService get Path of Object

ulrich berl ulrich.berl at gmx.net
Thu Feb 15 11:41:39 CET 2018


Hi!

Or simply compare the objects (without object_to_string)
 
BR
UBerl 

Gesendet: Donnerstag, 15. Februar 2018 um 11:01 Uhr
Von: "ulrich berl" <ulrich.berl at gmx.net>
An: jacorb-developer at lists.spline.inf.fu-berlin.de
Betreff: Re: [jacorb-developer] NameService get Path of Object
Hi!

Actually i do a list() on the NameService and comparing each entry with resolve_str(orb.object_to_string(obj)).
If found, updating a lookup map.

Seems to work..

BR
UBerl
 
 

Gesendet: Donnerstag, 15. Februar 2018 um 10:13 Uhr
Von: "ulrich berl" <ulrich.berl at gmx.net>
An: jacorb-developer at lists.spline.inf.fu-berlin.de
Betreff: [jacorb-developer] NameService get Path of Object
Hi!
 
It is possible to get the path of an object (EventChannel) registered in NameService ?
 
In an NotificationService implementation i would try to get the channel name during a push (for logging purposes) - the IOR of the channel is available as it will be created by the factory (create_channel).
 
BR
UBerl
_______________________________________________
jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
_______________________________________________
jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer[https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer]


More information about the jacorb-developer mailing list