#NEWLINE# def receive_message( self , message , data ) : #NEWLINE# #INDENT# ' Called when a media message is received. ' #NEWLINE# if ( self [ MESSAGE_TYPE ] == TYPE_STATUS ) : #NEWLINE# #INDENT# self . _process_status ( data . get ( 'data' ) ) #NEWLINE# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False