=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tao / EndpointPolicy / Endpoint_Value_Impl.h
bloba02c03ffcd43eb410fca1abcdd8f30aecfefd358
1 // -*- C++ -*-
2 //=============================================================================
3 /**
4 * @file Endpoint_Value_Impl.h
6 * Implementation of the IIOP-Specific endpoint policy value
8 * @author Phil Mesnier <mesnier_p@ociweb.com>
9 */
10 //=============================================================================
12 #ifndef _TAO_ENDPOINT_VALUE_IMPL_H_
13 #define _TAO_ENDPOINT_VALUE_IMPL_H_
15 #include /**/ "ace/pre.h"
17 #include "tao/Basic_Types.h"
18 #include "tao/EndpointPolicy/EndpointPolicy_Export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 class TAO_Endpoint;
27 class TAO_Acceptor;
29 /**
30 * @class Endpoint_Value_Impl
32 * @brief Abstract base class to be mixed in to servants of protocol
33 * specific EndpointValues.
35 * This inteface defines the methods necessary for the
36 * protocol-specific endpoint value to be used with the endpoint
37 * policy
40 class TAO_EndpointPolicy_Export TAO_Endpoint_Value_Impl
42 public:
43 virtual ~TAO_Endpoint_Value_Impl();
45 /// This method is used to compare a candidate IOR endpoint with the
46 /// endpoint defined by this policy value.
47 virtual CORBA::Boolean is_equivalent (const TAO_Endpoint * ) const = 0;
49 /// This method is used by the framework to validate that an
50 /// acceptor is available to produce an endpoint required by at
51 /// least one of the endpoint policies values.
52 virtual CORBA::Boolean validate_acceptor (TAO_Acceptor *,
53 bool is_multi_prot) const = 0;
56 TAO_END_VERSIONED_NAMESPACE_DECL
58 #include /**/ "ace/post.h"
60 #endif /* _TAO_Endpoint_Value_Impl_H_ */