예제 #1
0
파일: proto.py 프로젝트: davibe/twimp
    def __init__(self):
        GeneratorWrapperProtocol.__init__(self)

        self.bytes_read = 0
        self.session_init_time = None

        # handshaker gets instantiated on connection
        self._hs = None

        # demuxer and muxer get instantiated on successful handshake
        self._demuxer = None
        self.muxer = None
예제 #2
0
    def __init__(self):
        GeneratorWrapperProtocol.__init__(self)

        self.bytes_read = 0
        self.session_init_time = None

        # handshaker gets instantiated on connection
        self._hs = None

        # demuxer and muxer get instantiated on successful handshake
        self._demuxer = None
        self.muxer = None
예제 #3
0
 def __init__(self, *a, **kw):
     GeneratorWrapperProtocol.__init__(self, *a, **kw)
     self.handshake_status = None
예제 #4
0
 def __init__(self, *a, **kw):
     GeneratorWrapperProtocol.__init__(self, *a, **kw)
     self.handshake_status = None
예제 #5
0
파일: test_chunks.py 프로젝트: DxCx/twimp
 def __init__(self, *a, **kw):
     GeneratorWrapperProtocol.__init__(self, *a, **kw)
     self.messages = []