#NEWLINE# def route_action( self , action ) : #NEWLINE# #INDENT# if isinstance ( action , Action ) : #NEWLINE# #INDENT# self . log . debug ( 'destination_bots: {0!r}' . format ( action . destination_bots ) ) #NEWLINE# self . log . debug ( 'destination_client_ids: {0!r}' . format ( action . destination_client_ids ) ) #NEWLINE# self . log . debug ( 'destination_rooms: {0!r}' . format ( action . destination_rooms ) ) #NEWLINE# if ( self . bot in action . destination_bots ) : #NEWLINE# #INDENT# for client_id in action . destination_client_ids : #NEWLINE# #INDENT# if ( client_id in self . clients ) : #NEWLINE# #INDENT# self . log . debug ( 'queuing action {0!r} on client {1!r}' . format ( action , self . clients [ client_id ] ) ) #NEWLINE# self . clients [ client_id ] . queue_action ( action )