April 2024 - This site, and Kamaelia are being updated. There is significant work needed, and PRs are welcome.
For examples and more explanations, see the module level docs.
class AdaptiveCommsComponent(Axon.Component.component, _AdaptiveCommsable)
Base class for a component that works just like an ordinary component
but can also 'adapt' its comms by adding or removing inboxes and
outboxes whilst it is running.
Subclass to make your own.
See Axon.AdaptiveCommsComponent._AdaptiveCommsable for
the extra methods that this subclass of component has.
Methods defined here
__init__(self, *args,
**argd)
- mainBody(self)
- __str__(self)
- childComponents(self)
- setInboxSize(self, boxname, size)
- send(self, message[, boxname])
- main(self)
- dataReady(self[, boxname])
- initialiseComponent(self)
- anyReady(self)
- __addChild(self, child)
- closeDownComponent(self)
- _closeDownMicroprocess(self)
- link(self, source, sink, *optionalargs,
**kwoptionalargs)
- unlink(self[, thecomponent][, thelinkage])
- recv(self[, boxname])
- _deliver(self, message[, boxname])
- removeChild(self, child)
- Inbox(self[, boxname])
- addChildren(self, *children)
- retrieveTrackedResource(self, inbox)
- deleteOutbox(self, name)
- _newOutboxName(self[, name])
- ceaseTrackingResource(self, resource)
- addInbox(self, *args)
- trackResource(self, resource, inbox)
- retrieveTrackedResourceInformation(self,
resource)
- deleteInbox(self, name)
- _newInboxName(self[, name])
- trackResourceInformation(self, resource, inboxes,
outboxes, information)
- addOutbox(self, *args)
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, 09 Dec 2009 at 04:00:25
UTC/GMT