Francis,

Please keep the mailing list in the loop :)

Le lundi 06 octobre 2008 à 08:39 -0600, Francis E Reyes a écrit :
> Philippe
> 
> Thanks for clearing that up. Are there plugins in the current bzr  
> branch that acts as service providers? 

Yes, the Coherence plugin and database.dbus service for instance.

> I'm developing a plugin that  
> needs access to XMLRPC (via xmlrpclib) and I want to have the xml rpc  
> connection in the background so I can periodically poll the connection  
> for new data.
> 
> Could you point to online/offline docs that talk about the elisa  
> components?
> 
> 

http://elisa.fluendo.com/documentation/

and the API (a bit out-dated, maybe): 

http://elisa.fluendo.com/documentation/api


> Thanks
> 
> FR
> 
> On Oct 6, 2008, at 7:25 AM, Philippe Normand wrote:
> 
> > Le lundi 06 octobre 2008 à 07:15 -0600, Francis E Reyes a écrit :
> >> Could someone tell me how I could go about registering a plugin (say
> >> the weather plugin) as a service provider (appears under the service
> >> menu).
> >>
> >> The tutorial treats it as a frontend and thus does not appear with  
> >> the
> >> rest of elisa.
> >>
> >
> > You are confused by the component naming ;)
> > A service_provider in Elisa is a bit like a daemon in UNIX  
> > terminology.
> > It's doing things on the background and can be started/stopped (ex:  
> > http
> > server, ...).
> >
> > The current weather plugin ships a resource_provider.  
> > Resource_providers
> > in elisa are usually  integrated in the UI using controllers. So if  
> > you
> > want a "weather" menu in the services Elisa menu, you need to hook a
> > decorator on the controller mapped to the services menu. That  
> > decorator
> > will add the new menu entry. Then when you activate that menu, a new
> > controller would be created, making use of the resource_provider to
> > display its data using widgets. There are various examples of this
> > pattern for instance the DAAP plugin or the iPod plugin...
> >
> >> Thanks
> >>
> >> FR
> >>
> >> ---------------------------------------------
> >> Francis Reyes M.Sc.
> >> 215 UCB
> >> University of Colorado at Boulder
> >>
> >> gpg --keyserver pgp.mit.edu --recv-keys 67BA8D5D
> >>
> >> 8AE2 F2F4 90F7 9640 28BC  686F 78FD 6669 67BA 8D5D
> >
> 
> ---------------------------------------------
> Francis Reyes M.Sc.
> 215 UCB
> University of Colorado at Boulder
> 
> gpg --keyserver pgp.mit.edu --recv-keys 67BA8D5D
> 
> 8AE2 F2F4 90F7 9640 28BC  686F 78FD 6669 67BA 8D5D

Reply via email to