Example #1
0
    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)
Example #2
0
    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)
Example #3
0
File: zeromq.py Project: 66ru/spyne
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'
Example #4
0
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'