Пример #1
0
 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")
Пример #2
0
 def allJobTerminate(self):
     for xbed, job in self.__jobList.iteritems():
         job.terminate(self)
     pass