#NEWLINE# def daemonProcess( self , resource , daemon_args_dict ) : #NEWLINE# #INDENT# if ( ( 'task' in daemon_args_dict ) and ( 'args' in daemon_args_dict ) ) : #NEWLINE# #INDENT# task = daemon_args_dict [ 'task' ] #NEWLINE# args = daemon_args_dict [ 'args' ] #NEWLINE# if ( task == '__full_embedding_update' ) : #NEWLINE# #INDENT# self . __full_embedding_update ( resource , args ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( task == '__incremental_embedding_update' ) : #NEWLINE# #INDENT# self . __incremental_embedding_update ( resource , args ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return True