Issue 10723: Let the attach/detach listener operation return a boolean (data-distribution-rtf) Source: PrismTech (Mr. Erik Hendriks, erik.hendriks(at)prismtech.com) Nature: Revision Severity: Summary: Problem: Change the return type of the attach_listener and detach_listener operation on the Cache entity to return a boolean instead of void. True indicates the operation was successfully (i.e. the listener was successfully attached or successfully removed). False indicates the operation was not successfully (i.e. the listener could not be attached, because it already was attached for the attach operation and for the detach operation it means the listener could not be detached because it was not attached in the first place. Solution: On page 3-22 in the table for section 3.1.6.3.4 replace: attach_listener void listener CacheListener detach _listener void listener CacheListener With: attach_listener boolean listener CacheListener detach _listener boolean listener CacheListener On page 3-23 for the description of the attach/detach listener add a sentence indicating the boolean return value and its meaning Replace: · attach/detach a CacheListener (attach_listener, detach_listener). With: · attach/detach a CacheListener, if the operation was successful true is returned and false if otherwise (attach_listener, detach_listener). Resolution: Revised Text: Actions taken: February 13, 2007: received issue Discussion: Let the attach/detach listener operation return a boolean instead of void on the Cache entity End of Annotations:===== iler: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 13 Feb 2007 17:20:39 -0500 To: issues@omg.org, data-distribution-rtf@omg.org From: Juergen Boldt Subject: issue 10723 -- DDS RTF issue X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at omg.org This is issue # 10723 From: "Erik Hendriks" Let the attach/detach listener operation return a boolean Let the attach/detach listener operation return a boolean instead of void on the Cache entity Problem: Change the return type of the attach_listener and detach_listener operation on the Cache entity to return a boolean instead of void. True indicates the operation was successfully (i.e. the listener was successfully attached or successfully removed). False indicates the operation was not successfully (i.e. the listener could not be attached, because it already was attached for the attach operation and for the detach operation it means the listener could not be detached because it was not attached in the first place. Solution: On page 3-22 in the table for section 3.1.6.3.4 replace: attach_listener void listener CacheListener detach _listener void listener CacheListener With: attach_listener boolean listener CacheListener detach _listener boolean listener CacheListener On page 3-23 for the description of the attach/detach listener add a sentence indicating the boolean return value and its meaning Replace: · attach/detach a CacheListener (attach_listener, detach_listener). With: · attach/detach a CacheListener, if the operation was successful true is returned and false if otherwise (attach_listener, detach_listener). Juergen Boldt Director, Member Services Object Management Group 140 Kendrick St Building A Suite 300 Needham, MA 02494 USA tel: +1 781 444 0404 x 132 fax: +1 781 444 0320 email: juergen@omg.org www.omg.org