#NEWLINE# def hook_server_before_exec( self , request_event ) : #NEWLINE# #INDENT# 'Called when a method is about to be executed on the server.' #NEWLINE# for functor in self . _hooks [ 'server_before_exec' ] : #NEWLINE# #INDENT# functor ( request_event )