blob: 9a638b51a3ad59f92482115d3b6c217d92d6d730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
// -*- C++ -*-
//=============================================================================
/**
* @file Endpoint_Value_Impl.h
*
* $Id$
*
* Implementation of the IIOP-Specific endpoint policy value
*
* @author Phil Mesnier <mesnier_p@ociweb.com>
*/
//=============================================================================
#ifndef _TAO_ENDPOINT_VALUE_IMPL_H_
#define _TAO_ENDPOINT_VALUE_IMPL_H_
#include /**/ "ace/pre.h"
#include "tao/Basic_Types.h"
#include "tao/EndpointPolicy/EndpointPolicy_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_Endpoint;
class TAO_Acceptor;
/**
* @class Endpoint_Value_Impl
*
* @brief Abstract base class to be mixed in to servants of protocol
* specific EndpointValues.
*
* This inteface defines the methods necessary for the
* protocol-specific endpoint value to be used with the endpoint
* policy
*/
class TAO_EndpointPolicy_Export TAO_Endpoint_Value_Impl
{
public:
virtual ~TAO_Endpoint_Value_Impl(void);
/// This method is used to compare a candidate IOR endpoint with the
/// endpoint defined by this policy value.
virtual CORBA::Boolean is_equivalent (const TAO_Endpoint * ) const = 0;
/// This method is used by the framework to validate that an
/// acceptor is available to produce an endpoint required by at
/// least one of the endpoint policies values.
virtual CORBA::Boolean validate_acceptor (TAO_Acceptor *,
bool is_multi_prot) const = 0;
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* _TAO_Endpoint_Value_Impl_H_ */
|