Issue 5806: response_expected value for colocated invocations (java-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: For optimized (SII) colocated invocations, how is it possible for the ORB to determine the value of "response_expected" flag (so as to pass it to the client/server request interceptor). Is there a portable way to get this info? This is specially a problem when a oneway method is invoked and sync scope policy is not set; since both oneway and two-way void methods have a void return type. At the moment, I think such information can only be passed to the ORB through the stub. Resolution: see above Revised Text: Actions taken: November 5, 2002: received issue January 10, 2003: received issue August 29, 2003: moved to Java RTF April 26, 2010: closed issue April 26, 2010: closed issue April 26, 2010: closed issue Discussion: At UML 2.0 a multiplicity can have only one range so the issue does not apply. Disposition: Closed, no change End of Annotations:===== Date: Fri, 10 Jan 2003 17:18:02 +0800 From: "M. Arshad Khan" Subject: response_expected value for colocated invocations To: "corba-rtf@omg.org" , interceptors-rtf@omg.org Organization: Borland Singapore Pte Ltd. X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en Hi All For optimized (SII) colocated invocations, how is it possible for the ORB to determine the value of "response_expected" flag (so as to pass it to the client/server request interceptor). Is there a portable way to get this info? This is specially a problem when a oneway method is invoked and sync scope policy is not set; since both oneway and two-way void methods have a void return type. At the moment, I think such information can only be passed to the ORB through the stub. Thanks and Regards Arshad -- Borland -- Enabling the digital world where our customers have the freedom of choice to develop, deploy, and integrate applications across the enterprise and the Internet. http://www.borland.com This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately and permanently delete the original and any copy of any e-mail and any printout thereof. Sender: jon@floorboard.com Date: Fri, 10 Jan 2003 11:49:17 -0800 From: Jonathan Biggar X-Mailer: Mozilla 4.8 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en To: "M. Arshad Khan" , corba-rtf@omg.org Subject: Re: response_expected value for colocated invocations "M. Arshad Khan" wrote: > For optimized (SII) colocated invocations, how is it possible for the > ORB to determine the value of "response_expected" flag (so as to pass it > to the client/server request interceptor). Is there a portable way to > get this info? This is specially a problem when a oneway method is > invoked and sync scope policy is not set; since both oneway and two-way > void methods have a void return type. At the moment, I think such > information can only be passed to the ORB through the stub. I don't think this is a CORE ORB RTF issue. The only language where the SII interface is specified is Java, so this should be resolved by the Java RTF. Otherwise, it is this is an implementation issue. -- Jon Biggar Floorboard Software jon@floorboard.com jon@biggar.org Date: Fri, 10 Jan 2003 14:30:48 -0800 (PST) From: Ken Cavanaugh Reply-To: Ken Cavanaugh Subject: Re: response_expected value for colocated invocations To: jon@floorboard.com Cc: corba-rtf@omg.org, java-rtf@omg.org X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc >From: Jonathan Biggar >X-Accept-Language: en >MIME-Version: 1.0 >To: "M. Arshad Khan" , corba-rtf@omg.org >Subject: Re: response_expected value for colocated invocations >Content-Transfer-Encoding: 7bit > >"M. Arshad Khan" wrote: >> For optimized (SII) colocated invocations, how is it possible for >the >> ORB to determine the value of "response_expected" flag (so as to >pass it >> to the client/server request interceptor). Is there a portable way >to >> get this info? This is specially a problem when a oneway method is >> invoked and sync scope policy is not set; since both oneway and >two-way >> void methods have a void return type. At the moment, I think such >> information can only be passed to the ORB through the stub. > >I don't think this is a CORE ORB RTF issue. The only language where >the >SII interface is specified is Java, so this should be resolved by the >Java RTF. Otherwise, it is this is an implementation issue. > And in Java, a responseExpected flag is passed on the org.omg.CORBA.portable.Delegate.request method. DII is another question. I see that Request::invoke takes a flags argument that is not in the CORBA 3.0 spec. Is this for response_expected? In any case, the Java mapping for the request pseudo-object does not include flags in the invoke method. The Sun Java ORB simply assumes that response_expected is true for all DII invoke calls. Ken. Date: Wed, 27 Aug 2003 17:34:11 -0400 From: Jishnu Mukerji Organization: Software Business Unit, Hewlett-Packard User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en To: Juergen Boldt Cc: corba-rtf@omg.org, java-rtf@omg.org Subject: Issue 5806 move to Java RTF Juergen, Please move Issue 5806 http://www.omg.org/issues/issue5806.txt to Java RTF. It is probably something that will be closed no change there, but it is about a subject that is within the purview of the Java RTF not the CORBA RTF. Thanks, Jishnu.