summaryrefslogtreecommitdiff
path: root/TAO/tao/Remote_Invocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Remote_Invocation.h')
-rw-r--r--TAO/tao/Remote_Invocation.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/TAO/tao/Remote_Invocation.h b/TAO/tao/Remote_Invocation.h
index 7285a49abc5..a53ae3b0b63 100644
--- a/TAO/tao/Remote_Invocation.h
+++ b/TAO/tao/Remote_Invocation.h
@@ -20,6 +20,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "tao/Invocation_Base.h"
#include "ace/CORBA_macros.h"
@@ -38,22 +39,14 @@ namespace TAO
class Argument;
- enum Invocation_Status
- {
- TAO_INVOKE_START,
- /// The request must be restarted, a temporary failure has ocurred.
- TAO_INVOKE_RESTART,
- /// invoke() call successful.
- TAO_INVOKE_SUCCESS,
- TAO_INVOKE_FAILURE
- };
+
/**
- * @class Synch_Invocation
+ * @class Remote_Invocation
*
* @brief Base class for Twoway_Invocation and Oneway_Invocation.
*
*/
- class TAO_Export Remote_Invocation
+ class TAO_Export Remote_Invocation : protected Invocation_Base
{
public:
Remote_Invocation (Profile_Transport_Resolver &resolver,
@@ -68,17 +61,16 @@ namespace TAO
TAO_OutputCDR &out_stream
ACE_ENV_ARG_DECL);
- void marshal_data (Argument **args,
- int args_number,
- TAO_OutputCDR &cdr
+ void marshal_data (TAO_OutputCDR &cdr
ACE_ENV_ARG_DECL);
Invocation_Status send_message (TAO_OutputCDR &cdr,
- short message_semantics
+ short message_semantics,
+ ACE_Time_Value *max_wait_time
ACE_ENV_ARG_DECL);
+
protected:
Profile_Transport_Resolver &resolver_;
- TAO_Operation_Details &detail_;
};
}