Kamaelia docs : Kamaelia.Experimental.Services.Subscribe

Kamaelia.Experimental.Services.Subscribe

For examples and more explanations, see the module level docs.


class Subscribe(Axon.Component.component)

Subscribes to a service, and forwards what it receives to its outbox. Also forwards anything that arrives at its inbox to its outbox.

Unsubscribes when shutdown.

Outboxes

  • outbox :
  • signal : shutdown signalling
  • _toService : request to service

Methods defined here

__init__(self, servicename, *requests)

Subscribe to the specified service, wiring to it, then sending the specified messages. Requests are of the form ("ADD", request, destination)

Feedback

Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!

Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.

-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT

This is a page from the Kamaelia website. You can find the original here: