Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Return Call AttributeLoad Str attr Call NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A Node Example

To use this example run it interactively through the Python interactive
shell using the -i option as per the shebang line above.

i.e: python -i hello_node.py host port

At the python prompt:

    >>> x = app.fire(hello())
    >>> <Hello[*.hello] ( )>

    >>> x
    <Value ('Hello World! (16030)') result=True; errors=False; for <Hello[*.hello] ( )>
    >>> y = app.fire(remote(hello(), "test"))
    .
    .
    .
    >>> y
    <Value (u'Hello World! (16035)') result=True; errors=False; for <Remote[*.remote] (<Hello[.hello] ( )>, 'app2' channel=None)>
 __future__ print_function N/A sys os getpid circuits Component Event circuits.node Node remote hello N/A Event N/A N/A hello Event N/A App N/A Component N/A ready N/A N/A self client N/A N/A N/A N/A print Ready! N/A connected N/A N/A self host port N/A N/A N/A N/A print N/A N/A Connected to {}:{} format host port N/A N/A print Try: x = app.fire(hello()) N/A hello N/A N/A self N/A N/A N/A N/A print Now try: y = app.fire(remote(hello(), "test")) N/A N/A N/A Hello World! ({0:d}) format N/A getpid N/A N/A N/A app N/A App N/A node N/A N/A N/A Node register app N/A host N/A N/A sys argv N/A 1 N/A port N/A int N/A N/A sys argv N/A 2 N/A bind N/A host port N/A N/A N/A node add test bind N/A N/A N/A app start