blob: a1b62222eb99291241f83d28ea9010e77228ad0e (
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
63
64
65
66
67
68
69
70
71
72
73
|
// -*- C++ -*-
//=============================================================================
/**
* @file Profile_Transport_Resolver.h
*
* $Id$
*
*
* @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
*/
//=============================================================================
#ifndef TAO_PROFILE_TRANSPORT_RESOLVER_H
#define TAO_PROFILE_TRANSPORT_RESOLVER_H
#include "ace/pre.h"
#include "tao/TAO_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/CORBA_macros.h"
#include "ace/Global_Macros.h"
class TAO_Stub;
class TAO_Profile;
class TAO_Transport;
class TAO_Endpoint;
namespace CORBA
{
class SystemException;
class Environment;
}
namespace TAO
{
/**
* @class Connection_Resolver
*
*/
class TAO_Export Profile_Transport_Resolver
{
public:
Profile_Transport_Resolver (TAO_Stub *);
~Profile_Transport_Resolver (void);
void resolve (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
void profile (TAO_Profile *pfile);
TAO_Profile *profile (void) const;
TAO_Stub *stub (void) const;
bool try_connect (TAO_Endpoint *
ACE_ENV_ARG_DECL);
TAO_Transport *transport (void) const;
private:
TAO_Stub *stub_;
TAO_Transport *transport_;
TAO_Profile *profile_;
};
}
#include "ace/post.h"
#endif /*TAO_PROFILE_TRANSPORT_RESOLVER_H*/
|