Summary: | _is_a never send responses for AMH-based servants | ||
---|---|---|---|
Product: | TAO | Reporter: | Carlos O'Ryan <coryan> |
Component: | IDL Compiler | Assignee: | Jeff Parsons <parsons> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.3.5 | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 1638 | ||
Attachments: |
Suggested patches
The regression test as a tar file |
Description
Carlos O'Ryan
2003-12-10 14:43:43 CST
Created attachment 246 [details]
Suggested patches
Created attachment 247 [details]
The regression test as a tar file
Thu Dec 11 14:03:16 2003 Jeff Parsons <j.parsons@vanderbilt.edu> * TAO_IDL/be/be_visitor_interface/amh_ss.cpp: * TAO_IDL/be/be_visitor_interface/interface_ss.cpp: * TAO_IDL/be_include/be_visitor_interface/amh_ss.h: * TAO_IDL/be_include/be_visitor_interface/interface_ss.h: Added virtual method to the be_visitor_interface_ss visitor called genrerate_send_reply, which is a no-op, but when overridden in the be_visitor_amh_interface_ss visitor, generates an explicit send_reply call on _tao_server_request. This new method is then used in the generation of the _is_a_skel, _nonexistent_skel, _interface_skel, and _component_skel methods, and the explicit send_reply call gets generated for the AMH version of the interface. This addition was needed because the above generated methods need a reply to be sent right away, and this is not handled under the hood in asynchronous_upcall_dispatch() as it is in synchronous_upcall_dispatch(). This fix closes http://deuce.doc.wustl.edu/bugzilla/0. Thanks to Carlos O'Ryan <coryan@atdesk.com> for pointing out the problem and suggesting the fix. |