def __init__(self): ProtocolFactory.__init__(self) self.builds = 0
def __init__(self, dispatch=Dispatch()): ProtocolFactory.__init__(self) self.dispatch = dispatch self.protocol = PickleProtocol self.protocols = []
def __init__(self, dispatch=Dispatch()): ProtocolFactory.__init__(self) self.dispatch = dispatch self.protocol = MsgPackProtocol self.protocols = []