예제 #1
0
파일: HubConnection.py 프로젝트: r-owen/RO
 def _setState(self, newState, reason=None):
     # print "%s._setState(newState=%s, reason=%s)" % (self, newState, reason)
     TCPConnection._setState(self, newState=newState, reason=reason)
     if self._state == self.Authorizing and not self._didStartAuth:
         self._didStartAuth = True
         self.writeLine("1 auth knockKnock")
예제 #2
0
 def _setState(self, newState, reason=None):
     # print "%s._setState(newState=%s, reason=%s)" % (self, newState, reason)
     TCPConnection._setState(self, newState=newState, reason=reason)
     if self._state == self.Authorizing and not self._didStartAuth:
         self._didStartAuth = True
         self.writeLine("1 auth knockKnock")