#NEWLINE# def _send_stats( self , msg ) : #NEWLINE# #INDENT# '\n        Forward a stats message to all subscribed yards\n        Stats message has a route\n        ' #NEWLINE# y_name = msg [ 'route' ] [ 'src' ] [ 1 ] #NEWLINE# if ( y_name not in self . lane_stack . value . nameRemotes ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# stats = self . _get_stats ( msg . get ( 'tag' ) ) #NEWLINE# if ( stats is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# route = { #NEWLINE# #INDENT# 'dst' : ( None , None , 'event_fire' ) , #NEWLINE# 'src' : ( None , self . lane_stack . value . local . name , None ) , #NEWLINE# #UNINDENT# } #NEWLINE# repl = { #NEWLINE# #INDENT# 'route' : route , #NEWLINE# 'tag' : msg . get ( 'tag' ) , #NEWLINE# 'data' : stats , #NEWLINE# #UNINDENT# } #NEWLINE# self . lane_stack . value . transmit ( repl , self . lane_stack . value . fetchUidByName ( y_name ) ) #NEWLINE# self . lane_stack . value . serviceAll ( )