[omniORB] When should omniInterceptors...remove() be called?
Martin B.
0xCDCDCDCD at gmx.at
Thu Jan 13 12:44:29 GMT 2011
Hi!
The docs are quite clear on the setup of interceptors:
[quote]
Each interception point consists
of a singleton object with add() and
remove() methods (...)
All the interceptor singletons are
registered (...)
You retrieve a pointer to the object
with the omniORB::getInterceptors()
function, which must be called after
the ORB has been initialised with
CORBA::ORB_init(), but before the ORB
is used.
[end quote]
However, the docs do not state when to call the remove() function to
remove an interceptor.
I'm trying to add an interceptor for omniInterceptors::createThread_T
and I'm wondering where to remove it:
a) before orb->shutdown() ?
b) before orb->destroy() ?
c) after orb->destroy() ?
d) not at all ?
cheers,
Martin
More information about the omniORB-list
mailing list