summaryrefslogtreecommitdiff
path: root/TAO/tao/default_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/default_client.h')
-rw-r--r--TAO/tao/default_client.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/TAO/tao/default_client.h b/TAO/tao/default_client.h
deleted file mode 100644
index b2ab4b2c565..00000000000
--- a/TAO/tao/default_client.h
+++ /dev/null
@@ -1,78 +0,0 @@
-// This may look like C, but it's really -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO
-//
-// = FILENAME
-// default_client.h
-//
-// = AUTHOR
-// Chris Cleeland
-//
-// ============================================================================
-
-#if !defined (TAO_DEFAULT_CLIENT_H)
-# define TAO_DEFAULT_CLIENT_H
-
-#include "tao/corba.h"
-
-class TAO_Default_Client_Strategy_Factory : public TAO_Client_Strategy_Factory
-{
- // = TITLE
- // This is the "default" client strategy factor for TAO. It
- // includes strategies that are configured through command-line
- // options so that everything operates as if there were no
- // dynamically-linkable strategies.
-public:
- // = Initialization and termination methods.
- TAO_Default_Client_Strategy_Factory (void);
- // Constructor.
-
- virtual ~TAO_Default_Client_Strategy_Factory (void);
- // Destructor.
-
- // = Service Configurator hooks.
- virtual int init (int argc, char* argv[]);
- // Dynamic linking hook
-
- int parse_args (int argc, char* argv[]);
- // Parse svc.conf arguments
-
- ACE_Lock* create_iiop_profile_lock (void);
- // create the lock for the forwarding IIOP Profile used by
- // the TAO_GIOP_Invocation::location_forward and the
- // TAO_GIOP_Invocation::start
-
- ACE_Creation_Strategy<TAO_Client_Connection_Handler> *create_client_creation_strategy (void);
- // Create the correct client connection creation strategy
-
-private:
- enum Lock_Type
- {
- TAO_NULL_LOCK,
- TAO_THREAD_LOCK
- };
-
- Lock_Type iiop_profile_lock_type_;
- // the lock type for forwarding IIOP Profile
-
- enum Client_Connection_Handler_Type
- {
- MT_CLIENT_CONNECTION_HANDLER,
- ST_CLIENT_CONNECTION_HANDLER
- };
-
- Client_Connection_Handler_Type client_connection_handler_;
- // Type of client connection handler to create
-};
-
-#if defined (__ACE_INLINE__)
-# include "tao/default_client.i"
-#endif /* __ACE_INLINE__ */
-
-ACE_FACTORY_DECLARE (TAO, TAO_Default_Client_Strategy_Factory)
-
-#endif /* TAO_DEFAULT_CLIENT_H */