def __init__(self, url, app, name, out_header=None): self.url = url self.app = app initial_ctx = MethodContext(self) initial_ctx.method_request_string = name initial_ctx.out_header = out_header self.contexts = initial_ctx.out_protocol.generate_method_contexts(initial_ctx)
def __init__(self, url, app, name, out_header=None): self.url = url self.app = app initial_ctx = MethodContext(self) initial_ctx.method_request_string = name initial_ctx.out_header = out_header self.contexts = self.app.out_protocol.generate_method_contexts(initial_ctx)
def __init__(self, app): MethodContext.__init__(self, app) self.transport.type = 'zmq'