Issue 3053: In polling modelreturn value in a reply is not returned as return value (messaging-rtf) Source: UBS (Mr. Hans Kneubuehl, hans.kneubuehl(at)ubs.com) Nature: Uncategorized Issue Severity: Summary: 2. In the polling model, the return value in a reply is not returned as return value. The reason for this could be that the CORBA Messaging Spec in the draft stage (orbos/98-03-11) once defined that all poll-operations return a boolean value. Later on this idea was abandoned, but no one thought to return return arguments as return arguments. -> Returning return arguments as out arguments is not consistent consistent. -> possible correction: define an (additional) polling-signature which returns return arguments as return arguments. Declare the existing one as obsolete. Resolution: Revised Text: Actions taken: November 19, 1999: received issue January 9, 2001: closed issue Discussion: I think this probably is a good idea to change this. Right now it has symmetry ( a little) with the callback model, but this symmetry doesnt help much.... Section 1.3.6.1 Basic Type Specific Poller Change first bullet to read "The type returned by the operation declared in IDL, followed by" Strike the first subbullet of the fourth bullet concerning out parameters. Change the example code to reflect this. End of Annotations:===== 2. In the polling model, the return value in a reply is not returned as return value. The reason for this could be that the CORBA Messaging Spec in the draft stage (orbos/98-03-11) once defined that all poll-operations return a boolean value. Later on this idea was abandoned, but no one thought to return return arguments as return arguments. -> Returning return arguments as out arguments is not consistent consistent. -> possible correction: define an (additional) polling-signature which returns return arguments as return arguments. Declare the existing one as obsolete. Regards Hans -- Hans Kneubuehl, UBS AG, P.O. Box, 8098 Zurich, Switzerland phone: +41 1 238 28 96, fax: +41 1 238 30 11 From: Bill Binko To: Messaging-Rtf Subject: Discussion Issue 3053: In polling modelreturn value in a reply is not returned as return value Date: Wed, 22 Mar 2000 12:29:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-UIDL: `;;e9V$N!!g'3!!Ng8!! What is the feel of the current implementors who've done Polling? Personally, I think this one IS important enough to change, even if it means modifying products in the pipeline. In my opinion, the existing interfaces are flawed and will be demonstrably cleaner if we make this change. This is based mainly on how much easier it was to explain the modified versions in my presentation to EC and SecSIG: it just flowed better. Binko From: hans.kneubuehl@ubs.com X-OpenMail-Hops: 2 Date: Mon, 10 Apr 2000 10:31:13 +0200 Message-Id: Subject: 3053: Does adopted resolution also apply to attribute getters? MIME-Version: 1.0 TO: uabcsru@uab.ericsson.se CC: messaging-rtf@omg.org Content-Disposition: inline; filename="BDY.TXT" ;Creation-Date="Mon, 10 Apr 2000 10:31:13 +0200" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII ;Creation-Date="Mon, 10 Apr 2000 10:31:13 +0200" X-UIDL: ~_Zd94A2e9B)Me9jD9!! Hi Chris The adopted resolution to 3053 (return value is returned as return value) only mentions the return value of operations. I think it is quite obvious that this should also apply to the return value of attribute getters. I hope this can be resolved editorially, and no official issue needs to be raised for this. Can I base the update to the examples on this assumption? Regards Hans -- Hans Kneubuehl, UBS AG, P.O. Box, 8098 Zurich, Switzerland phone: +41 1 238 28 96, fax: +41 1 238 30 11 ----------- Issue 3053: In polling modelreturn value in a reply is not returned as return value (messaging-rtf) Click here for this issue's archive. Nature: Uncategorized Issue Severity: Summary: 2. In the polling model, the return value in a reply is not returned as return value. The reason for this could be that the CORBA Messaging Spec in the draft stage (orbos/98-03-11) once defined that all poll-operations return a boolean value. Later on this idea was abandoned, but no one thought to return return arguments as return arguments. -> Returning return arguments as out arguments is not consistent consistent. -> possible correction: define an (additional) polling-signature which returns return arguments as return arguments. Declare the existing one as obsolete. Proposed Resolution I think this probably is a good idea to change this. Right now it has symmetry ( a little) with the callback model, but this symmetry doesnt help much.... Section 1.3.6.1 Basic Type Specific Poller Change first bullet to read "The type returned by the operation declared in IDL, followed by" Strike the first subbullet of the fourth bullet concerning out parameters. Change the example code to reflect this. -- Hans Kneubuehl, UBS AG, P.O. Box, 8098 Zurich, Switzerland phone: +41 1 238 28 96, fax: +41 1 238 30 11 Sender: Chris.Smith@uab.ericsson.se Message-ID: <38F1985A.C198DD0B@uab.ericsson.se> Date: Mon, 10 Apr 2000 11:01:14 +0200 From: Chris Smith X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: hans.kneubuehl@ubs.com CC: messaging-rtf@omg.org Subject: Re: 3053: Does adopted resolution also apply to attribute getters? References: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: Ub5e9#%8!!dg#!!LQ/!! hans.kneubuehl@ubs.com wrote: > > Hi Chris > > The adopted resolution to 3053 (return value is returned as return > value) only > mentions the return value of operations. I think it is quite obvious > that this > should also apply to the return value of attribute getters. > > I hope this can be resolved editorially, and no official issue needs > to be > raised for this. Can I base the update to the examples on this > assumption? I think it was clear that this was the intention of the resolution. I think we can take it that the attributes were changed too. > > Regards > Hans > -- > Hans Kneubuehl, UBS AG, P.O. Box, 8098 Zurich, Switzerland > phone: +41 1 238 28 96, fax: +41 1 238 30 11 > > ----------- > Issue 3053: In polling modelreturn value in a reply is not returned > as return > value (messaging-rtf) > > Click here for this issue's archive. > Nature: Uncategorized Issue > Severity: > Summary: 2. In the polling model, the return value in a reply is not > returned > as return value. The reason for this could be that the CORBA > Messaging Spec in > the draft stage > (orbos/98-03-11) once defined that all poll-operations return a > boolean value. > Later on this idea was abandoned, but no one thought to return > return arguments > as return > arguments. -> Returning return arguments as out arguments is not > consistent > consistent. -> possible correction: define an (additional) > polling-signature > which returns return > arguments as return arguments. Declare the existing one as obsolete. > Proposed Resolution > I think this probably is a good idea to change this. Right now it > has symmetry > ( a little) with the callback > model, but this symmetry doesnt help much.... > > Section 1.3.6.1 Basic Type Specific Poller > > Change first bullet to read > > "The type returned by the operation declared in IDL, followed by" > > Strike the first subbullet of the fourth bullet concerning out > parameters. > > Change the example code to reflect this. > > -- > Hans Kneubuehl, UBS AG, P.O. Box, 8098 Zurich, Switzerland > phone: +41 1 238 28 96, fax: +41 1 238 30 11