

def app_destroy(self, to_rt_uuid, callback, app_id, actor_ids):
    " Destroys an application with remote actors on to_rt_uuid node\n            callback: called when finished with the peer's respons as argument\n            app_id: the application to destroy\n            actor_ids: optional list of actors to destroy\n        "
    if self.network.link_request(to_rt_uuid):
        self._app_destroy(to_rt_uuid, callback, app_id, actor_ids, status=response.CalvinResponse(True))
    else:
        self.node.network.link_request(to_rt_uuid, CalvinCB(self._app_destroy, to_rt_uuid=to_rt_uuid, callback=callback, app_id=app_id, actor_ids=actor_ids))

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