note description: "[ Factory to create message objects. GENERATED DO NOT MODIFY! ]" author: "Origo Team " date: "$Date: $" revision: "$Revision: $" class TEST_MESSAGE_FACTORY inherit A_MESSAGE_FACTORY rename system_namespace as aranea_system_namespace redefine register_builtin_handlers end TEST_TEST2_CONSTANTS create make feature -- Creator handlers new_test2_foo (a_msg: MESSAGE): TEST_TEST2_FOO_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 (test2_namespace, test2_foo_type, agent new_test2_foo) end end