Ejemplo n.º 1
0
def dispatch_node(uri, control_uri, trace=False, attributes=None, barrier=True):
    """ Dispatch calvin runtime in new process.
        uri: list of uris for rt 2 rt comm
        control_uri: uri to control the rt
        trace: True/False
        attributes: dictionary according to documentation in AttributeResolver
        barrier: when True wait until managed to obtain the id of the runtime
    """
    p = calvin_node.start_node(uri, control_uri, trace, attributes)
    return node_control(control_uri, barrier=barrier), p
Ejemplo n.º 2
0
def dispatch_node(uri, control_uri, trace=False, attributes=None):
    calvin_node.start_node(uri, control_uri, trace, attributes)
    return node_control(control_uri)
Ejemplo n.º 3
0
def dispatch_node(uri, control_uri, trace=False, attributes=None):
    calvin_node.start_node(uri, control_uri, trace, attributes)
    return node_control(control_uri)