August'24: Kamaelia is in maintenance mode and will recieve periodic updates, about twice a year, primarily targeted around Python 3 and ecosystem compatibility. PRs are always welcome. Latest Release: 1.14.32 (2024/3/24)

Axon.Introspector.Introspector

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


class Introspector(Axon.Component.component)

Introspector() -> new Introspector component.

Outputs topology (change) data describing what components there are, and how they are wired inside the running Axon system.

Inboxes

  • control : Shutdown signalling
  • inbox : NOT USED

Outboxes

  • outbox : Topology (change) data describing the Axon system
  • signal : Shutdown signalling

Methods defined here

Warning!

You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers.

introspect(self)

introspect() -> components, postboxes, linkages

Returns the current set of components, postboxes and interpostbox linkages.

  • components -- a dictionary, containing components as keys
  • postboxes -- a list of (component.id, type, "boxname") tuples, where type="i" (inbox) or "o" (outbox)
  • linkages -- a dictionary containing (postbox,postbox) tuples as keys, where postbox is a tuple from the postboxes list

main(self)

Main loop.

Methods inherited from Axon.Component.component :

Methods inherited from Axon.Microprocess.microprocess :

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