#NEWLINE# def send_msg( self , msg ) : #NEWLINE# #INDENT# assert isinstance ( msg , self . ofproto_parser . MsgBase ) #NEWLINE# if ( msg . xid is None ) : #NEWLINE# #INDENT# self . set_xid ( self ) #NEWLINE# #UNINDENT# msg . serialize ( ) #NEWLINE# self . send ( msg . buf )