[omniORB] Interceptor for OmniORB 2.8
Haarek Ryeng
Haarek.Ryeng@datarespons.no
Thu, 25 Oct 2001 15:24:23 +0200
Alright - Thanks!
I'll have to figure out some application specific mechanism for the local calls then.
Ta!
Duncan Grisby wrote:
> On Tuesday 23 October, "Haarek Ryeng" wrote:
>
> > I have legacy code using OmniORB 2.8, and I'm in need of a "global
> > ShowStopper" who stops all incoming CORBA calls before the
> > implementation object (Servant) is involved. It could be implemented
> > as an int (of value 0 or 1) checked in the ORB somewhere.
> >
> > Alas - I'm not an expert on the OmniORB code, so:
> >
> > Can someone point me to a "bottleneck" (piece of code that runs for
> > every call) in the ORB code where the best place would be to add
> > such a check for every remote call?
>
> All remote calls go through GIOP_S::dispatcher, defined in
> src/lib/omniORB2/giopServer.cc. Local calls are a direct virtual
> function call on the servant, so there is no opportunity to intercept
> them, I'm afraid.
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby \ Research Engineer --
> -- AT&T Laboratories Cambridge --
> -- http://www.uk.research.att.com/~dpg1 --
--
Haarek Ryeng
Senior Software Development Engineer
Data Respons AS, Sandviksvn. 26,N-1323 HOEVIK, Norway.
Tel: +47 67112071 Mob: +47 90196734
Embedded Computers & Realtime Professionals
www.datarespons.no