indexing description: "Represents an advertisement" author: "Beat Strasser " date: "$Date$" revision: "$Revision$" deferred class P2P_ADVERTISEMENT inherit P2P_XML_CACHE P2P_ID_CREATOR export {NONE} all undefine out end feature -- Access local_expiration_time: INTEGER -- Local expiration time (not included in document) remote_expiration_time: INTEGER -- Remote expiration time (not included in document) feature -- Element change set_local_expiration_time (time: INTEGER) is -- Set local expiration time do local_expiration_time := time ensure Time_set: local_expiration_time = time end set_remote_expiration_time (time: INTEGER) is -- Set remote expiration time do remote_expiration_time := time ensure Time_set: remote_expiration_time = time end feature {NONE} -- Implementation attribute_handler (root_attribute: XM_ATTRIBUTE) is -- Advertisements don't have any attributes in the root element do end end