summaryrefslogtreecommitdiff
path: root/TAO/tao/Service_Callbacks.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Service_Callbacks.h')
-rw-r--r--TAO/tao/Service_Callbacks.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/TAO/tao/Service_Callbacks.h b/TAO/tao/Service_Callbacks.h
index 9720e758aee..767fbbff4a9 100644
--- a/TAO/tao/Service_Callbacks.h
+++ b/TAO/tao/Service_Callbacks.h
@@ -25,6 +25,7 @@
#include "tao/TAO_Export.h"
#include "tao/Basic_Types.h"
+#include "tao/Invocation_Utils.h"
class TAO_Profile;
class TAO_MProfile;
@@ -41,6 +42,11 @@ namespace CORBA
class Environment;
}
+namespace IOP
+{
+ class ServiceContextList;
+}
+
/**
* @class TAO_Service_Callbacks
*
@@ -86,15 +92,17 @@ public:
/// Allow the service layer to decide whether the COMM_FAILURE
/// exception should be thrown or a reinvocation is needed
- virtual int raise_comm_failure (TAO_GIOP_Invocation *invoke,
- TAO_Profile *profile
- ACE_ENV_ARG_DECL);
+ virtual TAO::Invocation_Status raise_comm_failure (
+ IOP::ServiceContextList &clist,
+ TAO_Profile *profile
+ ACE_ENV_ARG_DECL);
/// Allow the service layer to decide whether the TRANSIENT
/// exception should be thrown or a reinvocation is needed
- virtual int raise_transient_failure (TAO_GIOP_Invocation *invoke,
- TAO_Profile *profile
- ACE_ENV_ARG_DECL);
+ virtual TAO::Invocation_Status raise_transient_failure (
+ IOP::ServiceContextList &clist,
+ TAO_Profile *profile
+ ACE_ENV_ARG_DECL);
};
#if defined (__ACE_INLINE__)