From c5240aaeab3a99a06176ac696cda246c61e87360 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Thu, 1 Mar 2001 18:12:58 +0000 Subject: ChangeLogTag:Thu Mar 01 09:38:28 2001 Ossama Othman --- .../Portable_Interceptors/Dynamic/interceptors.cpp | 14 +++++++++++- .../Portable_Interceptors/Dynamic/interceptors.h | 25 +++++++++++++--------- 2 files changed, 28 insertions(+), 11 deletions(-) (limited to 'TAO/tests/Portable_Interceptors/Dynamic') 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 @@ -41,6 +41,12 @@ Echo_Client_Request_Interceptor::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) return CORBA::string_dup (this->myname_); } +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 @@ -216,6 +222,12 @@ Echo_Server_Request_Interceptor::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) return CORBA::string_dup (this->myname_); } +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 @@ -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 -- cgit v1.2.1