summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/Request.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicInterface/Request.h')
-rw-r--r--TAO/tao/DynamicInterface/Request.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/TAO/tao/DynamicInterface/Request.h b/TAO/tao/DynamicInterface/Request.h
index f7c13f398ab..649eb55d98b 100644
--- a/TAO/tao/DynamicInterface/Request.h
+++ b/TAO/tao/DynamicInterface/Request.h
@@ -35,6 +35,7 @@
#include "tao/Environment.h"
#include "tao/CDR.h"
#include "tao/AnyTypeCode/NVList.h"
+#include "tao/Messaging/Messaging.h"
#include "ace/SString.h"
@@ -149,9 +150,24 @@ namespace CORBA
//@}
/// Callback method for deferred synchronous requests.
- void handle_response (TAO_InputCDR &incoming,
- CORBA::ULong reply_status
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ void handle_response (TAO_InputCDR &incoming,
+ CORBA::ULong reply_status
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+
+#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
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+
+ static void _tao_reply_stub (
+ TAO_InputCDR &_tao_reply_cdr,
+ Messaging::ReplyHandler_ptr _tao_reply_handler,
+ CORBA::ULong reply_status
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ );
+#endif
+
/// Pseudo object methods.
static CORBA::Request* _duplicate (CORBA::Request*);