[omniORB] Interceptor interfaces

Ivan Ivanov Ivan.Ivanov@trema.com
Wed, 20 Mar 2002 08:42:14 +0100


Hello Duncan,

Currently it doesn't work to make a CORBA calls in interceptors -
the behavior is similar to a deadlock.
Next, serverSendReply is never called, it means the effect of
registering a
omniORB::getInterceptors()->serverSendReply.add(&reply_namespace::reply_
callback); is none.
Also omniCallDescriptor* GIOP_S::calldescriptor() doesn't work in the
serverReceiveRequest interceptors - apparently the calldescriptor
is not initialized at the time of the interceptor callback.

Maybe an example of using omniORB's interceptors would be helpful, as 
well as  some code snippets how to extract the CORBA Object reference
and the servant object reference from the
omni::omniInterceptors::serverReceiveRequest_T::info_T  structure.

Best Regards,
Ivan Ivanov

















-----Original Message-----
From: owner-omniorb-list@uk.research.att.com
[mailto:owner-omniorb-list@uk.research.att.com] On Behalf Of Duncan
Grisby
Sent: Tuesday, March 19, 2002 7:08 PM
To: omniorb-list@uk.research.att.com
Subject: [omniORB] Interceptor interfaces

Is anyone using omniORB 4's interceptors in real code?  How upset
would you be if the interface was changed a bit?  I'm contemplating
changing it to be a bit more general, and more efficient. One thing
that might change is that you might have to register interceptors
before ORB_init(), rather than after as it is now.

While I'm changing things, does anyone have any requests about
interceptor features?  (If your request is for the portable
interceptors API, then you're out of luck for now...)

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --