note description: "[ Factory to create message objects. GENERATED DO NOT MODIFY! ]" author: "Origo Team " date: "$Date$" revision: "$Revision$" class AP_MESSAGE_FACTORY inherit A_MESSAGE_FACTORY rename system_namespace as aranea_system_namespace redefine register_builtin_handlers end AP_PROFILING_CONSTANTS create make feature -- Creator handlers new_profiling_results_request (a_msg: MESSAGE): AP_PROFILING_RESULTS_REQUEST_MESSAGE -- Create new typed message out of a_msg. require a_msg_not_void: a_msg /= Void do create Result.make_from_ems_message (a_msg) ensure Error_or_not_void: not is_error implies Result /= Void end new_profiling_results_reply (a_msg: MESSAGE): AP_PROFILING_RESULTS_REPLY_MESSAGE -- Create new typed message out of a_msg. require a_msg_not_void: a_msg /= Void do create Result.make_from_ems_message (a_msg) ensure Error_or_not_void: not is_error implies Result /= Void end feature {NONE} -- Implementation register_builtin_handlers -- Register the builtin handlers. do Precursor register_handler (profiling_namespace, profiling_results_request_type, agent new_profiling_results_request) register_handler (profiling_namespace, profiling_results_reply_type, agent new_profiling_results_reply) end end