summaryrefslogtreecommitdiff
path: root/TAO/tao/default_server.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-01 21:37:01 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-01 21:37:01 +0000
commit929ab3226a0b94d1e7db5512643f341baa8b847b (patch)
treec6c5066394f7da9f10261e054de539bdd3b20ade /TAO/tao/default_server.h
parent335db6e866a8ee93ce88b3c22c65642993afa32c (diff)
downloadATCD-929ab3226a0b94d1e7db5512643f341baa8b847b.tar.gz
ChangeLogTag:Tue Sep 1 16:29:30 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/default_server.h')
-rw-r--r--TAO/tao/default_server.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/TAO/tao/default_server.h b/TAO/tao/default_server.h
index 41ae8325ff8..47f4344f1df 100644
--- a/TAO/tao/default_server.h
+++ b/TAO/tao/default_server.h
@@ -20,6 +20,16 @@
#include "tao/corba.h"
#include "tao/ORB_Strategies_T.h"
+class TAO_Default_Server_Creation_Strategy : public TAO_Server_Strategy_Factory::CREATION_STRATEGY
+{
+public:
+ TAO_Default_Server_Creation_Strategy (ACE_Thread_Manager * = 0);
+ // ctor
+
+ // = Factory method.
+ virtual int make_svc_handler (TAO_Server_Connection_Handler *&sh);
+};
+
class TAO_Default_Server_Strategy_Factory : public TAO_Server_Strategy_Factory
{
// = TITLE
@@ -35,6 +45,9 @@ public:
// Call <open> for our strategies.
// = Server-side ORB Strategy Factory Methods.
+ virtual CREATION_STRATEGY *creation_strategy (void);
+ // Return concrete creation strategy.
+
virtual CONCURRENCY_STRATEGY *concurrency_strategy (void);
virtual TAO_Object_Table_Impl *create_object_table (void);
@@ -140,12 +153,18 @@ private:
// The threaded strategy used for passively establishing
// connections.
+ CREATION_STRATEGY *creation_strategy_;
+ // concrete creation strategy.
+
CONCURRENCY_STRATEGY *concurrency_strategy_;
// concrete concurrency strategy.
+ TAO_Default_Server_Creation_Strategy default_creation_strategy_;
+ // The default creation strategy for the server side connection
+ // handlers
+
#if 0
// Someday we'll need these!
- CREATION_STRATEGY *creation_strategy_;
ACCEPT_STRATEGY *accept_strategy_;
SCHEDULING_STRATEGY *scheduling_strategy_;
#endif /* 0 */