コード例 #1
0
 def __init__(self,singsock,connhandler,readlinecallback,videoHTTPServer):
     InstanceConnection.__init__(self, singsock, connhandler, readlinecallback)
     
     self.bgapp = connhandler
     self.videoHTTPServer = videoHTTPServer
     self.urlpath = None
     self.cstreaminfo = {}
     self.shutteddown = False
コード例 #2
0
ファイル: BackgroundProcess.py プロジェクト: duy/tribler
 def __init__(self,singsock,connhandler,readlinecallback,videoHTTPServer):
     InstanceConnection.__init__(self, singsock, connhandler, readlinecallback)
     
     self.bgapp = connhandler
     self.videoHTTPServer = videoHTTPServer
     self.urlpath = None
     self.cstreaminfo = {}
     self.shutteddown = False
     self.supportedvodevents = [VODEVENT_START,VODEVENT_PAUSE,VODEVENT_RESUME]
コード例 #3
0
    def __init__(self, singsock, connhandler, readlinecallback,
                 videoHTTPServer):
        InstanceConnection.__init__(self, singsock, connhandler,
                                    readlinecallback)

        self.bgapp = connhandler
        self.videoHTTPServer = videoHTTPServer
        self.urlpath = None
        self.cstreaminfo = {}
        self.shutteddown = False
        self.supportedvodevents = [
            VODEVENT_START, VODEVENT_PAUSE, VODEVENT_RESUME
        ]