Kamaelia docs : Axon.Handle.Handle

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

class Handle(Axon.ThreadedComponent.threadedcomponent)

Methods defined here

__init__(self, someComponent)

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


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

get(self[, boxname])

Return an item of data sent to an outbox of the wrapped component.

This method is non blocking and always returns immediately. If there is no data to return, then the exception Queue.Empty is thrown


  • boxname -- (optional) the name of the outbox of the wrapped component from which the data should be collected (default="outbox", should be either "outbox" or "signal")


Main loop.

put(self, *args)

Send an item of data to one of the inboxes of the wrapped component.

The item of data is queued and sent to the inbox as soon as possible.


  • the item of data
  • the name of the inbox it is destined for (either "inbox" or "control")

Methods inherited from Axon.ThreadedComponent.threadedcomponent :

Methods inherited from Axon.Component.component :

Methods inherited from Axon.Microprocess.microprocess :


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, 01 Feb 2010 at 04:00:28 UTC/GMT


Kamaelia is an open source project originated from and guided by BBC Research. For more information browse the site or get in contact.

This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)

(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved

This web site is powered by the same code created for the bicker manor project. For more details, contact Michael Sparks at BBC Research directly (cf contact)