diff options
Diffstat (limited to 'TAO/tao/EndpointPolicy/Endpoint_Acceptor_Filter.h')
-rw-r--r-- | TAO/tao/EndpointPolicy/Endpoint_Acceptor_Filter.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/TAO/tao/EndpointPolicy/Endpoint_Acceptor_Filter.h b/TAO/tao/EndpointPolicy/Endpoint_Acceptor_Filter.h deleted file mode 100644 index 818c3847455..00000000000 --- a/TAO/tao/EndpointPolicy/Endpoint_Acceptor_Filter.h +++ /dev/null @@ -1,70 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Endpoint_Acceptor_Filter.h - * - * $Id$ - * - * Subclass of TAO_Default_Acceptor_Filter that populates mprofile and filters - * mprofile with the endpoint policy in TAO_POA_Manager. - * - * @author Yan Dai <dai_y@ociweb.com> - */ -//============================================================================= - - -#ifndef TAO_ENDPOINT_ACCEPTOR_FILTER_H -#define TAO_ENDPOINT_ACCEPTOR_FILTER_H - -#include /**/ "ace/pre.h" - -#include "tao/EndpointPolicy/EndpointPolicy_Export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/Default_Acceptor_Filter.h" -#include "tao/EndpointPolicy/EndpointPolicyC.h" - -class TAO_POA_Manager; - - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -//============================================================================= -/** - * @class TAO_Endpoint_Acceptor_Filter - * - * @brief Subclass of default Acceptor_Filter. - * - * Endpoint strategy for populating mprofile: only the endpoints match - * the POAManager endpoint policy are included. - */ -//============================================================================= -class TAO_EndpointPolicy_Export TAO_Endpoint_Acceptor_Filter - : public TAO_Default_Acceptor_Filter -{ -public: - TAO_Endpoint_Acceptor_Filter (EndpointPolicy::Policy_ptr p); - - /// Populate @a mprofile with endpoints match the POAManager endpoint - /// policy. - int fill_profile (const TAO::ObjectKey &object_key, - TAO_MProfile &mprofile, - TAO_Acceptor **acceptors_begin, - TAO_Acceptor **acceptors_end, - CORBA::Short priority = TAO_INVALID_PRIORITY); - -private: - // this is the list of endpoints as obtained from the policy value supplied - // to the constructor. - EndpointPolicy::EndpointList_var endpoints_; -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* TAO_ENDPOINT_ACCEPTOR_FILTER_H */ |