indexing description: "Messaging destination." author: "Patrick Ruckstuhl " date: "$Date$" revision: "$Revision$" class DESTINATION inherit WRAPPER_BASE create {SESSION, MESSAGE} make feature -- Actions close is -- Close do cpp_close (item) item := default_pointer end feature -- Query same_destination (a_des: like Current): BOOLEAN -- Same destination? do Result := cpp_equals (item, a_des.item) end feature {NONE} -- C++ methods cpp_equals (a_object, a_other: POINTER): BOOLEAN -- Same destination? external "C++ inline use " alias "[ return (((cms::Destination*)$a_object)->equals((cms::Destination&)*(cms::Destination*)$a_other)); ]" end cpp_delete (a_object: POINTER) is -- Delete cpp object. external "C++ inline use " alias "[ delete (cms::Destination*)$a_object; ]" end cpp_close (a_object: POINTER) is -- Close the destination. external "C++ inline use " alias "[ delete (cms::Destination*)$a_object; ]" end end