Kamaelia docs : Kamaelia.Util.Backplane.SubscribeTo

Kamaelia.Util.Backplane.SubscribeTo

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


class SubscribeTo(Axon.Component.component)

SubscribeTo(source) -> new SubscribeTo component

Subscribes to a named Backplane. Receives any data published to that backplane and sends it on out of its "outbox" outbox.

Keyword arguments:

  • source -- the name of the Backplane to subscribe to for data

Inboxes

  • control : Shutdown signalling (doesn't shutdown the Backplane)
  • inbox : NOT USED

Outboxes

  • outbox : Data received from the backplane (that was published to it)
  • signal : Shutdown signalling

Methods defined here

childrenDone(self)

Unplugs any children that have terminated, and returns true if there are no running child components left (ie. their microproceses have finished)

main(self)

Main loop.

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: