AW: [omniORB] Notification Service with omniorbPy
fischer.c at atlas.de
fischer.c at atlas.de
Thu Jan 26 10:03:41 GMT 2006
Hi,
please take a look at Minos, http://sourceforge.net/projects/minosrv.
It is an open-source OMG Notification Service and comes with some
sample consumers and suppliers written in Python.
Clemens
-----Ursprüngliche Nachricht-----
Von: omniorb-list-bounces at omniorb-support.com [mailto:omniorb-list-bounces at omniorb-support.com] Im Auftrag von Niko Sünderhauf
Gesendet: Mittwoch, 25. Januar 2006 18:40
An: omniorb-list at omniorb-support.com
Betreff: [omniORB] Notification Service with omniorbPy
Hello,
I try to use the Notification Service with omniorbPy. I was looking for
some examples, but all I found was how to use the Event Service. Could
somebody please post a short example or a link?
So here is my scenario:
We already have a naming-service and some structured-push-suppliers
running. (They use ACE/TAO as ORB, but that shouldn't matter. However, I
want my clients written in Python, so I have to use omniorbPy, right?)
Now I want to register something (say class myConsumer) to all the
events with eventname "TestEvent". As far as I saw from some C++
examples, myConsumer has to be derived from structuredPushConsumer and
has a method called "push" or something, which is called every time an
event with name "TestEvent" is broadcasted by the Notification Service.
I have already written a few functions to get references to all the
objects in the naming service. So I can call
ec=getInterface("EventChannel",CosNotifyChannelAdmin.EventChannel)
to get the EventChannel. But how do I proceed from there?
Thanks a lot in advance,
Niko
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list