

def _actor_new(self, to_rt_uuid, callback, actor_type, state, prev_connections, status, peer_node_id=None, uri=None):
    ' Got link? continue actor new '
    if status:
        msg = {
            'cmd': 'ACTOR_NEW',
            'state': {
                'actor_type': actor_type,
                'actor_state': state,
                'prev_connections': prev_connections,
            },
        }
        self.network.links[to_rt_uuid].send_with_reply(callback, msg)
    elif callback:
        callback(status=status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_proto.py CalvinProto._actor_new/original