Re: Omniorb event channel question

2006-02-08 Thread Attila Rajmund Nohl
Diez B. Roggisch <[EMAIL PROTECTED]> 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

Omniorb event channel question

2006-01-31 Thread Attila Rajmund Nohl
Hello! I'm using python 2.3.5 on Linux with omniORB 2.6. I'm trying to create an object that shall listen on an event channel, but the registration doesn't work. My code is: class EventListener(CosEventComm.PushConsumer): def __init__(self): pass def push(self, data): pr