self.queue.pop(address,None)defsize(self):returnlen(self.queue.items())defnext(self):iflen(self.queue.items()) ==0:returnNoneaddress, worker = self.queue.popitem(False)returnaddress 开发者ID:witlox,项目名称:cumulonimbi,代码行数:29,代码来源:zmqbroker.py 示例13: to_representation ▲点赞 1...