def endFailureAuction(self, job, reqCtxt): ##job, brokerCtxt): #def endFailureAuction(self, job, brokerCtxt): log.debug("XenBEEBrokerProtocolFactory::endFailureAuction") reqCtxt.pushEvent("BookingRejectedAck") if job is None: reqCtxt.allJobTerminate() else: job.terminate(reqCtxt) log.debug("XenBEEBrokerProtocolFactory::endFailureAuction - done")
def allJobTerminate(self): for xbed, job in self.__jobList.iteritems(): job.terminate(self) pass