diff options
Diffstat (limited to 'TAO/tao/DynamicInterface/Request.h')
-rw-r--r-- | TAO/tao/DynamicInterface/Request.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/TAO/tao/DynamicInterface/Request.h b/TAO/tao/DynamicInterface/Request.h index e4e19e434e1..0e577c88818 100644 --- a/TAO/tao/DynamicInterface/Request.h +++ b/TAO/tao/DynamicInterface/Request.h @@ -36,6 +36,10 @@ #include "tao/CDR.h" #include "tao/AnyTypeCode/NVList.h" +#if defined (TAO_HAS_AMI) +#include "tao/Messaging/Messaging.h" +#endif /* TAO_HAS_AMI */ + #include "ace/SString.h" #if defined (TAO_EXPORT_MACRO) @@ -149,9 +153,18 @@ namespace CORBA //@} /// Callback method for deferred synchronous requests. - void handle_response (TAO_InputCDR &incoming, - CORBA::ULong reply_status - ); + void handle_response (TAO_InputCDR &incoming, CORBA::ULong reply_status); + +#if defined (TAO_HAS_AMI) + /// The 'asychronous' send method. The object is a DSI based callback + /// handler. This handler must implement Messaging::ReplyHandler + void sendc (CORBA::Object_ptr handler); + + static void _tao_reply_stub ( + TAO_InputCDR &_tao_reply_cdr, + Messaging::ReplyHandler_ptr _tao_reply_handler, + CORBA::ULong reply_status); +#endif /* TAO_HAS_AMI */ /// Pseudo object methods. static CORBA::Request* _duplicate (CORBA::Request*); |