Esempio n. 1
0
    def __init__(self, transport, req_env, content_type):
        MethodContext.__init__(self, transport)

        self.transport = HttpTransportContext(transport, req_env, content_type)
        """Holds the WSGI-specific information"""
Esempio n. 2
0
    def __init__(self, transport, client_handle):
        MethodContext.__init__(self, transport, MethodContext.SERVER)

        self.transport = WebSocketTransportContext(self, transport, 'ws',
                                                                  client_handle)
Esempio n. 3
0
    def __init__(self, transport, req_env, content_type):
        MethodContext.__init__(self, transport)

        self.transport = HttpTransportContext(transport, req_env, content_type)
        """Holds the WSGI-specific information"""
Esempio n. 4
0
    def __init__(self, transport, client_handle):
        MethodContext.__init__(self, transport, MethodContext.SERVER)

        self.transport = WebSocketTransportContext(self, transport, 'ws',
                                                   client_handle)
Esempio n. 5
0
    def __init__(self, parent, transport, client_handle):
        MethodContext.__init__(self, parent, transport)

        self.transport = WebSocketTransportContext(transport, 'ws',
                                                            client_handle, self)