view NodeInstance.py @ 116:9ddea0c614ee

much prettier stdout, including a clock (so you can tell the server's running) much prettier stdout, including a clock (so you can tell the server's running) and channel updates only when the levels change, and throttled to every 100 updates even then.
author drewp
date Fri, 13 Jun 2003 06:15:28 +0000
parents 45b12307c695
children
line wrap: on
line source

'''Internal class for StateManager'''

# warning: pseduocode
class NodeInstance:
    ip_addr?
    get_this_nodes_url()

    type = the node type (a subclass of Node)
        ops (get from type)
    input,output = the ports that are created for the node instance
    state = associated state