예제 #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)
예제 #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)
예제 #3
0
파일: zeromq.py 프로젝트: 66ru/spyne
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'
예제 #4
0
파일: zeromq.py 프로젝트: mangroovie/spyne
 def __init__(self, app):
     MethodContext.__init__(self, app)
     self.transport.type = 'zmq'