> I am looking at this nifty code from the Examples dir: > http://pastebin.com/m72f62d06 > Can you tell me what the introspector is doing here? I can't see how it > is connected to the SimpleServer. > I see that the last Pipeline is just a client call, sent to the console. > But the purpose and value of the Introspector here is confusing.
The Introspector is a bit of a special component - these days it is actually part of Axon (the core system that implements the whole Components, Inboxes, Outboxes, etc business): http://www.kamaelia.org/Docs/Axon/Axon.Introspector.html It is part of Axon because it rummages around inside the Axon scheduler (ie. introspects) to find out the state of the system (what components there are and how they are wired together). It sends this information out of its "outbox" outbox in the form of commands describing how to construct a topology of nodes and linkages that mirrors what it has introspected. Kamaelia contains some topology visualising components that understand these commands and can generate an animated graphical display using pygame. You should find an app in Kamaelia/Tools/AxonVisualiser.py that will accept these commands on a TCP socket ... hence putting the introspector in a pipeline with a TCPClient() - so it can connect to a running AxonVisualiser.py and send the data to it. It has nothing to do with the SimpleServer - because the idea is that the Introspector is something (nearly) completely separate in the system that is observing what is going on. The SimpleServer is part of the system under observation. Run up the AxonVisualiser: $> python AxonVisualiser.py --port=1500 Leave it running, then run the fortune cookie system. You'll see blobs appear. More info here: http://www.kamaelia.org/AxonVisualiser Matt -- | Matt Hammond | | [anything you like unless it bounces] 'at' matthammond 'dot' org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to kamaelia@googlegroups.com To unsubscribe from this group, send email to kamaelia+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---