summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile_Transport_Resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Profile_Transport_Resolver.h')
-rw-r--r--TAO/tao/Profile_Transport_Resolver.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/TAO/tao/Profile_Transport_Resolver.h b/TAO/tao/Profile_Transport_Resolver.h
index a1b62222eb9..b5b1d7b5281 100644
--- a/TAO/tao/Profile_Transport_Resolver.h
+++ b/TAO/tao/Profile_Transport_Resolver.h
@@ -27,14 +27,18 @@ class TAO_Stub;
class TAO_Profile;
class TAO_Transport;
class TAO_Endpoint;
+class ACE_Time_Value;
namespace CORBA
{
class SystemException;
class Environment;
+ class Object;
}
namespace TAO
{
+ class Synch_Twoway_Invocation;
+
/**
* @class Connection_Resolver
*
@@ -42,11 +46,13 @@ namespace TAO
class TAO_Export Profile_Transport_Resolver
{
public:
- Profile_Transport_Resolver (TAO_Stub *);
+ Profile_Transport_Resolver (CORBA::Object *p,
+ TAO_Stub *);
~Profile_Transport_Resolver (void);
- void resolve (ACE_ENV_SINGLE_ARG_DECL)
+ void resolve (ACE_Time_Value *val
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
void profile (TAO_Profile *pfile);
@@ -55,12 +61,21 @@ namespace TAO
TAO_Stub *stub (void) const;
- bool try_connect (TAO_Endpoint *
+ CORBA::Object *object (void) const;
+
+ bool try_connect (TAO_Endpoint *,
+ ACE_Time_Value *val
ACE_ENV_ARG_DECL);
TAO_Transport *transport (void) const;
private:
+
+ bool get_connection_timeout (ACE_Time_Value &max_wait_time);
+
+ private:
+ mutable CORBA::Object *obj_;
+
TAO_Stub *stub_;
TAO_Transport *transport_;