diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-09 20:22:00 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-09 20:22:00 +0000 |
commit | ab5628aad80a2070aa7052f35ea700444cf9ecfc (patch) | |
tree | 6fd48a3cd5a9b5c180097a2314deb285580bc92a /TAO/tao/server_factory.h | |
parent | 8aa0985db61c0b5cb337bf9d1b27d1004c59a2e9 (diff) | |
download | ATCD-ab5628aad80a2070aa7052f35ea700444cf9ecfc.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/server_factory.h')
-rw-r--r-- | TAO/tao/server_factory.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/TAO/tao/server_factory.h b/TAO/tao/server_factory.h index e75fa94a64b..8db824df408 100644 --- a/TAO/tao/server_factory.h +++ b/TAO/tao/server_factory.h @@ -15,7 +15,7 @@ // $Id$ // ============================================================================ -#if !defined(TAO_SERVER_FACTORY_H) +#if !defined (TAO_SERVER_FACTORY_H) # define TAO_SERVER_FACTORY_H # include "ace/SOCK_Acceptor.h" @@ -28,11 +28,9 @@ # include "tao/connect.h" # include "tao/objtable.h" - class TAO_Server_Strategy_Factory : public ACE_Service_Object // = TITLE - // - // Base class for the server's abstract factory which turns out + // Base class for the server's abstract factory that manufactures // various strategies of special utility to it. This simply // serves as an interface to a subclass that REALLY gets // specified and loaded by the Service Configurator. @@ -40,17 +38,20 @@ class TAO_Server_Strategy_Factory : public ACE_Service_Object public: // = Initialization and termination methods. TAO_Server_Strategy_Factory (void); - // constructor + // Constructor. virtual ~TAO_Server_Strategy_Factory(void); - // destructor - - - // = SERVER-SIDE factory types. - typedef ACE_Creation_Strategy<TAO_OA_Connection_Handler> CREATION_STRATEGY; - typedef ACE_Accept_Strategy<TAO_OA_Connection_Handler, ACE_SOCK_ACCEPTOR> ACCEPT_STRATEGY; - typedef ACE_Concurrency_Strategy<TAO_OA_Connection_Handler> CONCURRENCY_STRATEGY; - typedef ACE_Scheduling_Strategy<TAO_OA_Connection_Handler> SCHEDULING_STRATEGY; + // Destructor. + + // = Server-side factory types. + typedef ACE_Creation_Strategy<TAO_OA_Connection_Handler> + CREATION_STRATEGY; + typedef ACE_Accept_Strategy<TAO_OA_Connection_Handler, ACE_SOCK_ACCEPTOR> + ACCEPT_STRATEGY; + typedef ACE_Concurrency_Strategy<TAO_OA_Connection_Handler> + CONCURRENCY_STRATEGY; + typedef ACE_Scheduling_Strategy<TAO_OA_Connection_Handler> + SCHEDULING_STRATEGY; // = Factory methods for the server-side strategies. @@ -68,13 +69,11 @@ public: virtual TAO_Object_Table *object_lookup_strategy (void); // Return the concrete object lookup strategy. - -private: }; # if defined(__ACE_INLINE__) # include "server_factory.i" -# endif +# endif /* __ACE_INLINE__ */ -#endif +#endif /* TAO_SERVER_FACTORY_H */ |