[omniORB] Using omniNotify with omniOrbPy

Mark Zimmerman markzimm@frii.com
Wed, 13 Jun 2001 12:53:49 -0600


Greetings:

I am looking for some hints on how to post notification events from a
python script using omniOrbPy. There seems to be nothing built-in to
support this. Am I on uncharted territory here?

I have started by running omniidl -bpython on files in $TOP/idl/COS
that seem to have some relevance. That works fine.

I am currently trying to go through some working C++ code and do the
same things in python. I am stuck trying to convert

channel = CosNA_EventChannel::_narrow(echannel_ref);

to python. It seems that it should be

channel = echannel_ref._narrow(SomethingOrOther.CosNA_EventChannel)

but I have grepped through all of the idl I can find looking for who
owns CosNA_EventChannel so SomethingOrOther is still unknown.

-- Mark