[omniORB] Extracting some information out of a *_ptr

Michael omniorb at bindone.de
Fri Aug 8 04:10:58 BST 2008


Hi Martin,

you might want to check the catior source code in the omniORB source
tree. It extracts a lot of information from an omniorb generated ior
(like you would get by calling orb->object_to_string)

cheers
michael

Martin Trappel wrote:
> Hi all.
> 
> I have a IDL where the initial call from a client hands a Client
> Reference to the server:
> interface Client {
> // ...
> };
> interface Server {
>   void initial_connect(in client c);
> };
> 
> It would now be very nice to extract some information out of the
> Client_ptr at the server side for logging purposes.
> As far as I could see there is no standard way of getting, e.g. the
> clients IP-address/port/... (or other endpoint information) out of the
> _ptr. Is there any way with omniORB?
> 
> thanks,
> Martin
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list