[kamaelia-list] Re: Question re: default socket connections deep within Kamaelia

2009-03-08 Thread Matt Hammond
Hi Gloria, And ServerCore seems to be two components linked together, while the first example is a derivative component. I'm not sure what you mean by this. Can you explain? I cannot see where an outbox is determined to default to stdout, like the first example, or a remote console, like

[kamaelia-list] Re: Question re: default socket connections deep within Kamaelia

2009-03-08 Thread Gloria W
Hi Gloria, And ServerCore seems to be two components linked together, while the first example is a derivative component. I'm not sure what you mean by this. Can you explain? Sorry, I think I confused the AdaptiveComponent with something else. Nevermind :) I cannot see

[kamaelia-list] Re: Question re: default socket connections deep within Kamaelia

2009-03-08 Thread Gloria W
I'm not sure what you mean by this, so I'll explain what's going on in server core, first of all from a historical perspective, then raw mechanics, and then by analogy - and then relate your examples back to the analogy. The file Kamaelia/Chassis/ConnectedServer.py contains two classes

[kamaelia-list] Re: Question re: default socket connections deep within Kamaelia

2009-03-08 Thread Gloria W
[snip of handy summary] http://www.kamaelia.org/MiniAxon It takes you through how to build a really simple Axon/Kamaelia system of your own - thereby showing you what is actually going on. Thank you! When a system written using Kamaelia wants to, for example, connect, as a client,

[kamaelia-list] Fortune cookie introspector

2009-03-08 Thread Gloria W
Hi again, 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

[kamaelia-list] Re: Fortune cookie introspector

2009-03-08 Thread Gloria W
Oh, wow...that is so damned cool. It seems like these few lines give you introspection into any Kamaelia process: from Kamaelia.Util.Introspector import Introspector from Kamaelia.Visualisation.Axon.AxonVisualiserServer import AxonVisualiser # Start the introspector and connect to a local

[kamaelia-list] Re: Fortune cookie introspector

2009-03-08 Thread Gloria W
There are some caveats and shortcomings that need to be borne in mind: * scalability - the more complex the system, the more blobs and the slower the visualisation gets - it can grind to a near halt pretty quick. This is mainly due to the maths overhead on the physics engine dictating the

[kamaelia-list] Re: Fortune cookie introspector

2009-03-08 Thread Matt Hammond
Every introspective process suffers from these problems, so no biggie for the time being. I think being able to make the display window bigger, and scroll it, matters most right now. Check the '--help' command line option info, and try the arrow keys :-) Matt -- | Matt Hammond | |