예제 #1
0
파일: redis.py 프로젝트: versee/vlcp
 def notconnected(self, connection):
     for m in Protocol.notconnected(self, connection):
         yield m
     for m in connection.waitForSend(
             RedisConnectionStateEvent(
                 RedisConnectionStateEvent.CONNECTION_NOTCONNECTED,
                 connection, connection.connmark, self)):
         yield m
예제 #2
0
파일: raw.py 프로젝트: hubo1016/vlcp
 def notconnected(self, connection):
     for m in Protocol.notconnected(self, connection):
         yield m
     for m in connection.waitForSend(
         RawConnectionStateEvent(
             RawConnectionStateEvent.CONNECTION_NOTCONNECTED, connection, connection.connmark, self
         )
     ):
         yield m