diff options
Diffstat (limited to 'TAO/tao/PI_Server/ServerInterceptorAdapter.h')
-rw-r--r-- | TAO/tao/PI_Server/ServerInterceptorAdapter.h | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/TAO/tao/PI_Server/ServerInterceptorAdapter.h b/TAO/tao/PI_Server/ServerInterceptorAdapter.h index 6fa2e115b6c..b9217c4ac50 100644 --- a/TAO/tao/PI_Server/ServerInterceptorAdapter.h +++ b/TAO/tao/PI_Server/ServerInterceptorAdapter.h @@ -20,28 +20,37 @@ #include /**/ "ace/pre.h" -#include "pi_server_export.h" +#include "tao/orbconf.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "tao/orbconf.h" #if TAO_HAS_INTERCEPTORS == 1 -#include "ServerRequestInterceptorC.h" +#include "tao/PI_Server/ServerRequestInterceptorC.h" #include "tao/PI/Interceptor_List_T.h" #include "tao/ServerRequestInterceptor_Adapter.h" #include "tao/Basic_Types.h" +#include "tao/PI_Server/ServerRequestDetails.h" + + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO { - typedef Interceptor_List< ::PortableInterceptor::ServerRequestInterceptor> + typedef Interceptor_List< ::PortableInterceptor::ServerRequestInterceptor, + ServerRequestDetails> ServerRequestInterceptor_List; } +namespace CORBA +{ + class PolicyList; +} + class TAO_ServerRequest; namespace TAO @@ -56,8 +65,8 @@ namespace TAO * A convenient helper class to invoke registered server request * interceptor(s). */ - class TAO_PI_Server_Export ServerRequestInterceptor_Adapter_Impl : - public ServerRequestInterceptor_Adapter + class ServerRequestInterceptor_Adapter_Impl + : public ServerRequestInterceptor_Adapter { public: @@ -152,6 +161,11 @@ namespace TAO PortableInterceptor::ServerRequestInterceptor_ptr interceptor ACE_ENV_ARG_DECL); + virtual void add_interceptor ( + PortableInterceptor::ServerRequestInterceptor_ptr interceptor, + const CORBA::PolicyList& policies + ACE_ENV_ARG_DECL); + virtual void destroy_interceptors (ACE_ENV_SINGLE_ARG_DECL); virtual TAO::PICurrent_Impl *allocate_pi_current (void); @@ -178,6 +192,8 @@ namespace TAO } // End namespace TAO +TAO_END_VERSIONED_NAMESPACE_DECL + #endif /* TAO_HAS_INTERCEPTORS */ #include /**/ "ace/post.h" |