예제 #1
0
   def onOpen(self, transport):
      RouterSession.onOpen(self, transport)

      if hasattr(self._transport.factory, '_config'):
         self._transport_config = self._transport.factory._config
      else:
         self._transport_config = {}

      self._pending_auth = None
      self._session_details = None
예제 #2
0
 def onOpen(self, transport):
    RouterSession.onOpen(self, transport)
    print "transport authenticated: {}".format(self._transport._authenticated)
예제 #3
0
 def onOpen(self, transport):
     RouterSession.onOpen(self, transport)
     print "transport authenticated: {}".format(
         self._transport._authenticated)