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
> 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.
Diez
--
http://mail.python.org/mailman/
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