indexing description: "Message transmitted in the advanced example."; status: "See notice at end of class"; date: "$Date$"; revision: "$Revision$" class MESSAGE inherit STORABLE undefine copy, is_equal end LINKED_LIST [STRING] create make_message feature new: BOOLEAN over: BOOLEAN client_name: STRING make_message is do make extend ("-> ") end set_client_name (s: STRING) is require s_not_void: s /= Void do client_name := clone (s) end set_over (flag: BOOLEAN) is do over := flag end set_new (flag: BOOLEAN) is do new := flag end print_message is -- Prints the contents of the message to standard output do from start until after loop io.putstring (item) forth end end end -- class MESSAGE --|---------------------------------------------------------------- --| EiffelNet: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------