[omniORB] Interceptor interfaces

Duncan Grisby dgrisby@uk.research.att.com
Thu, 21 Mar 2002 11:47:57 +0000


On Wednesday 20 March, "Ivan Ivanov" wrote:

> Currently it doesn't work to make a CORBA calls in interceptors -
> the behavior is similar to a deadlock.

That's a tricky one. I'll have to think about that. The Portable
Interceptor spec requires that, so we ought to support it.

> Next, serverSendReply is never called, it means the effect of
> registering a
> omniORB::getInterceptors()->serverSendReply.add(&reply_namespace::reply_
> callback); is none.

Yes, that's something I intend to fix.

> 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.

That's expected since it happens long before the call descriptor is
created. Documentation is what's required here.

Cheers,

Duncan.

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