summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Dynamic
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-03-01 18:12:58 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-03-01 18:12:58 +0000
commitc5240aaeab3a99a06176ac696cda246c61e87360 (patch)
tree53431184bd009f716f345ed223d5522218f61d44 /TAO/tests/Portable_Interceptors/Dynamic
parent37d17e1d7022abd07c24a85efd71ff49c3aeff52 (diff)
downloadATCD-c5240aaeab3a99a06176ac696cda246c61e87360.tar.gz
ChangeLogTag:Thu Mar 01 09:38:28 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Dynamic')
-rw-r--r--TAO/tests/Portable_Interceptors/Dynamic/interceptors.cpp14
-rw-r--r--TAO/tests/Portable_Interceptors/Dynamic/interceptors.h25
2 files changed, 28 insertions, 11 deletions
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/interceptors.cpp b/TAO/tests/Portable_Interceptors/Dynamic/interceptors.cpp
index 7f8a65aa7ed..093a0497204 100644
--- a/TAO/tests/Portable_Interceptors/Dynamic/interceptors.cpp
+++ b/TAO/tests/Portable_Interceptors/Dynamic/interceptors.cpp
@@ -42,6 +42,12 @@ Echo_Client_Request_Interceptor::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
}
void
+Echo_Client_Request_Interceptor::destroy (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+}
+
+void
Echo_Client_Request_Interceptor::send_poll (
PortableInterceptor::ClientRequestInfo_ptr
TAO_ENV_ARG_DECL_NOT_USED
@@ -217,6 +223,12 @@ Echo_Server_Request_Interceptor::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
}
void
+Echo_Server_Request_Interceptor::destroy (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+}
+
+void
Echo_Server_Request_Interceptor::receive_request_service_contexts (
PortableInterceptor::ServerRequestInfo_ptr
TAO_ENV_ARG_DECL_NOT_USED)
@@ -315,7 +327,7 @@ Echo_Server_Request_Interceptor::send_reply (
(result_any.in ()) >>= result;
ACE_DEBUG ((LM_DEBUG,
- "The result of calculate is %d + %d = %d\n",
+ "The result of calculate is %d + %d = %d\n",
param1,
param2,
result));
diff --git a/TAO/tests/Portable_Interceptors/Dynamic/interceptors.h b/TAO/tests/Portable_Interceptors/Dynamic/interceptors.h
index 0d59493a60a..fccabebecf0 100644
--- a/TAO/tests/Portable_Interceptors/Dynamic/interceptors.h
+++ b/TAO/tests/Portable_Interceptors/Dynamic/interceptors.h
@@ -35,9 +35,11 @@ public:
virtual char * name (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
-
// Canonical name of the interceptor.
+ virtual void destroy (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
virtual void send_poll (
PortableInterceptor::ClientRequestInfo_ptr
TAO_ENV_ARG_DECL_WITH_DEFAULTS
@@ -96,6 +98,18 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// Canonical name of the interceptor.
+ virtual void destroy (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void receive_request_service_contexts (
+ PortableInterceptor::ServerRequestInfo_ptr
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableInterceptor::ForwardRequest
+ ));
+
virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri
TAO_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException,
@@ -109,15 +123,6 @@ public:
TAO_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ForwardRequest));
-
- virtual void receive_request_service_contexts (
- PortableInterceptor::ServerRequestInfo_ptr
- TAO_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableInterceptor::ForwardRequest
- ));
virtual void send_other (
PortableInterceptor::ServerRequestInfo_ptr