#NEWLINE# def _echo_request_loop( self ) : #NEWLINE# #INDENT# if ( not self . max_unreplied_echo_requests ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# while ( self . send_q and ( len ( self . unreplied_echo_requests ) <= self . max_unreplied_echo_requests ) ) : #NEWLINE# #INDENT# echo_req = self . ofproto_parser . OFPEchoRequest ( self ) #NEWLINE# self . unreplied_echo_requests . append ( self . set_xid ( echo_req ) ) #NEWLINE# self . send_msg ( echo_req ) #NEWLINE# hub . sleep ( self . echo_request_interval ) #NEWLINE# #UNINDENT# self . close ( )