summaryrefslogtreecommitdiff
path: root/TAO/tao/Client_Strategy_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Client_Strategy_Factory.h')
-rw-r--r--TAO/tao/Client_Strategy_Factory.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/Client_Strategy_Factory.h b/TAO/tao/Client_Strategy_Factory.h
index 3c63290ad4a..407e580b509 100644
--- a/TAO/tao/Client_Strategy_Factory.h
+++ b/TAO/tao/Client_Strategy_Factory.h
@@ -71,6 +71,15 @@ public:
/// Create the correct client <asynch_connect> strategy.
virtual TAO_Connect_Strategy *create_connect_strategy (TAO_ORB_Core *);
+ enum Connect_Strategy
+ {
+ TAO_BLOCKED_CONNECT,
+ TAO_REACTIVE_CONNECT,
+ TAO_LEADER_FOLLOWER_CONNECT
+ };
+ /// Return the selected connection strategy option.
+ virtual Connect_Strategy connect_strategy (void) const;
+
/// Does the client allow any form of callback?
virtual int allow_callback (void);