Omniorb event channel question
Attila Rajmund Nohl
attila.rajmund.nohl at ericsson.com
Wed Feb 8 12:10:33 EST 2006
Diez B. Roggisch <deets at nospam.web.de> wrote:
>> channel = orb.getRootInterface(channelname)
>> chadmin = channel.for_consumers()
>> supplier = chadmin.obtain_push_supplier()
>> listener = EventListener()
>> supplier.connect_push_consumer(listener)
>
> Not sure, but I guess you want a
>
> listener._this()
>
> here.
That worked, thanks. However, the event receiving doesn't seem to work.
I've started the ORB with
corba.orb.run()
but the push() method of the EventListener object doesn't get called (or
at least the print() calls in the method are not executed) and the event
sender program is blocked in the push() call. Do I need something else
to set up?
Bye,NAR
More information about the Python-list
mailing list