summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h')
-rw-r--r--TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h b/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h
index dc9fb709d2b..5e888a0e412 100644
--- a/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h
+++ b/TAO/tests/Portable_Interceptors/ForwardRequest/Server_Request_Interceptor.h
@@ -22,7 +22,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ServerRequestInterceptorC.h"
+#include "tao/PortableInterceptorC.h"
#include "tao/LocalObject.h"
#if defined(_MSC_VER)
@@ -55,23 +55,21 @@
* See the README file for test details.
*/
class Server_Request_Interceptor
- : public virtual ForwardRequestTest::ServerRequestInterceptor,
+ : public virtual PortableInterceptor::ServerRequestInterceptor,
public virtual TAO_Local_RefCounted_Object
{
public:
- /// Constructor.
+ /// Constructorl
Server_Request_Interceptor (void);
/// Destructor.
~Server_Request_Interceptor (void);
/// Set the references to which requests will be forwarded.
- virtual void forward_references (CORBA::Object_ptr obj1,
- CORBA::Object_ptr obj2,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
+ void forward_references (CORBA::Object_ptr obj1,
+ CORBA::Object_ptr obj2,
+ CORBA::Environment &ACE_TRY_ENV);
/**
* @name Methods Required by the Server Request Interceptor
@@ -86,9 +84,6 @@ public:
virtual char * name (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual void destroy (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
- ACE_THROW_SPEC ((CORBA::SystemException));
-
virtual void receive_request_service_contexts (
PortableInterceptor::ServerRequestInfo_ptr ri
TAO_ENV_ARG_DECL_WITH_DEFAULTS)