note description: "Foo message. GENERATED DO NOT MODIFY" author: "Origo Team " date: "$Date$" revision: "$Revision$" class TEST_TEST2_FOO_MESSAGE inherit A_MESSAGE rename make as make_aranea_message end TEST_TEST2_CONSTANTS undefine is_equal, out end create make, make_from_tokenizer create {TEST_MESSAGE_FACTORY} make_from_ems_message feature {NONE} -- Initialization make (a_value0: like value0) -- Create do make_aranea_message value0 := a_value0 ensure value0_set: value0 = a_value0 end feature -- Message handling handle (a_handler: TEST_TEST2_FOO_MESSAGE_HANDLER) -- do a_handler.handle_foo (Current) end feature -- Access namespace: STRING -- Namespace of the message type. once Result := test2_namespace end type: STRING -- Type of the message. once Result := test2_foo_type end value0: A_BOOLEAN_VALUE feature {NONE} -- Implementation serialization_list: attached STRING -- Lists the fields to serialize, and under which name do create Result.make_empty if (value0 /= Void) then Result.append ("%"" + value0_argument + "%":") Result.append (value0.serialize) end end parse_tag (a_tag: STRING; a_tokenizer: A_JSON_TOKENIZER) do if a_tag.is_equal (value0_argument) then create value0.make_from_tokenizer (a_tokenizer) end end value0_argument: STRING = "value0" end