def newconsensus_listener(event): """Call C{updaters.run_all()} when a NEWCONSENSUS event is received. @param event: The NEWCONSENSUS event. Not used by the function. """ logging.info('Got a new consensus. Updating router table and ' + \ 'checking all subscriptions.') updaters.run_all()
def newconsensus_listener(event): """ Call C{updaters.run_all()} when a NEWCONSENSUS event is received. @param event: The NEWCONSENSUS event. Not used by the function. """ logging.info('Got a new consensus. Updating router table and ' + \ 'checking all subscriptions.') updaters.run_all()
def new_consensus_event(self, event): """Call C{updaters.run_all()} when a NEWCONSENSUS event is received. @param event: The NEWCONSENSUS event. Not used by the function, but included so that this overrides C{TorCtl.EventHandler.new_consensus_event} """ logging.info('Got a new consensus. Updating router table and ' + \ 'checking all subscriptions.') updaters.run_all()