summaryrefslogtreecommitdiff
path: root/TAO/tao/PI_Server/ServerInterceptorAdapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PI_Server/ServerInterceptorAdapter.h')
-rw-r--r--TAO/tao/PI_Server/ServerInterceptorAdapter.h28
1 files changed, 6 insertions, 22 deletions
diff --git a/TAO/tao/PI_Server/ServerInterceptorAdapter.h b/TAO/tao/PI_Server/ServerInterceptorAdapter.h
index b9217c4ac50..6fa2e115b6c 100644
--- a/TAO/tao/PI_Server/ServerInterceptorAdapter.h
+++ b/TAO/tao/PI_Server/ServerInterceptorAdapter.h
@@ -20,37 +20,28 @@
#include /**/ "ace/pre.h"
-#include "tao/orbconf.h"
+#include "pi_server_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "tao/orbconf.h"
#if TAO_HAS_INTERCEPTORS == 1
-#include "tao/PI_Server/ServerRequestInterceptorC.h"
+#include "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,
- ServerRequestDetails>
+ typedef Interceptor_List< ::PortableInterceptor::ServerRequestInterceptor>
ServerRequestInterceptor_List;
}
-namespace CORBA
-{
- class PolicyList;
-}
-
class TAO_ServerRequest;
namespace TAO
@@ -65,8 +56,8 @@ namespace TAO
* A convenient helper class to invoke registered server request
* interceptor(s).
*/
- class ServerRequestInterceptor_Adapter_Impl
- : public ServerRequestInterceptor_Adapter
+ class TAO_PI_Server_Export ServerRequestInterceptor_Adapter_Impl :
+ public ServerRequestInterceptor_Adapter
{
public:
@@ -161,11 +152,6 @@ 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);
@@ -192,8 +178,6 @@ namespace TAO
} // End namespace TAO
-TAO_END_VERSIONED_NAMESPACE_DECL
-
#endif /* TAO_HAS_INTERCEPTORS */
#include /**/ "ace/post.h"