#NEWLINE# @ decorate_set_on_listener ( 'ondata' , '(self,filedata, filename)' ) #NEWLINE# def set_on_data_listener( self , listener , funcname ) : #NEWLINE# #INDENT# self . eventManager . register_listener ( self . EVENT_ON_DATA , listener , funcname )