コード例 #1
0
 def __init__(self, username, password, alipayPassword, userPayMap):
     AutoAction.__init__(self)
     self.username = username
     self.password = password
     self.alipayPassword = alipayPassword
     self.userPayMap = userPayMap
     self.view = None
     self.items = []
コード例 #2
0
 def __init__(self, keyword, username, password, alipayPassword, max_acceptable_price, seller_payment, message_to_seller):
     AutoAction.__init__(self)
     self.keyword = keyword
     self.username = username
     self.password = password
     self.alipayPassword = alipayPassword
     self.max_acceptable_price = max_acceptable_price
     self.seller_payment = seller_payment
     self.message_to_seller = message_to_seller
     self.queue = Queue(MaxPaiThreadNum)
     self.channel = thread_util.Channel()
     self.alipayChannel = thread_util.Channel()
     # allow only one alipay page at a time.
     self.alipayChannel.startConsumer(1)
コード例 #3
0
 def termintateAll(self, tabWidget):
     self.channel.stopConsumer()
     self.alipayChannel.stopConsumer()
     AutoAction.termintateAll(self, tabWidget)