Kamaelia docs : Kamaelia.Util.OneShot.TriggeredOneShot

Kamaelia.Util.OneShot.TriggeredOneShot

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


class TriggeredOneShot(Axon.Component.component)

OneShot(msg) -> new OneShot component.

Waits for anything to arrive at its "inbox" inbox, then immediately sends the specified message and terminates.

Keyword arguments:

- msg  -- the message to send out

Inboxes

  • control : Shutdown signalling
  • inbox : Anything, as trigger

Outboxes

  • outbox : Item is sent out here
  • signal : Shutdown signalling

Methods defined here

__init__(self[, msg])

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

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: