コード例 #1
0
ファイル: memcache.py プロジェクト: Hetal728/SMP-ClassiCube
 def sendLine(self, line):
     """
     Override sendLine to add a timeout to response.
     """
     if not self._current:
         self.setTimeout(self.persistentTimeOut)
     LineReceiver.sendLine(self, line)
コード例 #2
0
ファイル: memcache.py プロジェクト: Hetal728/SMP-ClassiCube
 def sendLine(self, line):
     """
     Override sendLine to add a timeout to response.
     """
     if not self._current:
         self.setTimeout(self.persistentTimeOut)
     LineReceiver.sendLine(self, line)