def doNotifyDependsOff(self, arg): """ Action method. """ if self.result_deferred: self.result_deferred.callback('depends_off') self.result_deferred = None on_service_callback('depends_off', self.service_name)
def doNotifyFailed(self, arg): """ Action method. """ if self.result_deferred: self.result_deferred.callback('failed') self.result_deferred = None on_service_callback('failed', self.service_name)