From: Epi S. <ep...@nm...> - 2003-06-03 17:58:10
|
Dear Michael, I guess you are talking about the special service context that can be retrieved at server side when the operation "receive_request_service_contexts (in ServerRequestInfo ri )" is called. Then I should use the method get_request_service_context( in IOP::ServiceId id) offered by "ServerRequestInfo", doesn't it? Where can I found more information about how create this special service context? Cheers, Epi Michael Rumpf wrote: > There is no way to get that info via CORBA APIs. You could create a > special service context that stores the hostname/IP information of the > client. Upon receipt (server-side) you can get the service context and > retrieve the information from the context and with that information > identify the client... > > Cheers, > Michael > > Epi Salamanca wrote: > >> Dear all, >> >> I want to create a simple trace log application for CORBA objects, so >> I've started to work with INTERCEPTOR, I've created a class that >> implements >> ClientRequestInterceptor interface and each time a request is send >> and the reply >> is received the interceptor is called. >> >> But I have a problem, I don't know how to identify which client that >> has generated the request, ClientRequestInfo class only gives me the >> request_id but >> according to the CORBA specification this request_id is unique only >> during the send request-receive reply lifecycle so I cannot use it to >> identify how is the client. >> >> Any idea how to identify who is the client that has generated the >> request? >> Do you know where I can found any documentation about that? >> >> Thanks in advanced >> >> Cheers, >> Epi >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: eBay >> Get office equipment for less on eBay! >> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >> _______________________________________________ >> openorb-general mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openorb-general > > > > > -- +-----------------------------------------------------------------------------+ | Epifanio Salamanca Cuadrado Network Management Group| | Office: D4-101 | | Tel: + 34 93 401 5623 Universitat Polit?cnica de Catalunya| | Fax: + 34 93 401 7200 Departament de Teoria del Senyal i Comunicacions| | c/Jordi Girona, 1-3 / M?dul D4-101 / Campus Nord| | PGP Key ID : 6A8A05EB 08034 - Barcelona (SPAIN)| +-----------------------------------------------------------------------------+ |