コード例 #1
0
ファイル: _base.py プロジェクト: DmitriyMoseev/spyne
    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'