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
def onOpen(self, transport): RouterSession.onOpen(self, transport) print "transport authenticated: {}".format(self._transport._authenticated)
def onOpen(self, transport): RouterSession.onOpen(self, transport) print "transport authenticated: {}".format( self._transport._authenticated)