diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1997-08-08 21:52:16 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1997-08-08 21:52:16 +0000 |
commit | ee35246bbf23e5bee551ef7c21c5294233ca29ff (patch) | |
tree | a5cb80a5ba3067b98404629ef328e3c97f848fac /TAO/tao/params.h | |
parent | 06e4dabf7dd1144d7a6ed11ca05a1325160ed84a (diff) | |
download | ATCD-ee35246bbf23e5bee551ef7c21c5294233ca29ff.tar.gz |
Checkpoint commit of service config stuff. Hasn't even been compiled,
so don't count on it working!
Diffstat (limited to 'TAO/tao/params.h')
-rw-r--r-- | TAO/tao/params.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/TAO/tao/params.h b/TAO/tao/params.h index d499236bf97..b38937052b2 100644 --- a/TAO/tao/params.h +++ b/TAO/tao/params.h @@ -37,6 +37,15 @@ public: // = SERVER-SIDE }; +typedef enum + { + TAO_NONE, + TAO_LINEAR, + TAO_DYNAMIC_HASH, + TAO_ACTIVE_DEMUX, + TAO_USER_DEFINED + } TAO_Demux_Strategy; + class ACE_Svc_Export TAO_OA_Parameters // = TITLE // Parameters specific to an Object Adapter. By definition, this @@ -55,14 +64,6 @@ public: static TAO_OA_Parameters *instance (TAO_OA_Parameters*); // Set the Singleton instance. - enum DEMUX_STRATEGY - { - TAO_LINEAR, - TAO_DYNAMIC_HASH, - TAO_ACTIVE_DEMUX, - TAO_USER_DEFINED - }; - typedef CORBA_BOA::dsi_handler UpcallFunc; typedef void (*ForwardFunc)(CORBA_OctetSeq &, CORBA_Object_ptr &, void *, @@ -129,10 +130,10 @@ public: // "user_def", or "active_demux". If the value is not valid, then // <Dynamic Hash> is used as a default. - void demux_strategy (DEMUX_STRATEGY s); + void demux_strategy (TAO_Demux_Strategy s); // Specify the demultiplexing strategy to be used. - DEMUX_STRATEGY demux_strategy (void); + TAO_Demux_Strategy demux_strategy (void); // Return the demultiplexing strategy being used. void userdef_lookup_strategy (TAO_Object_Table *&ot); @@ -179,7 +180,7 @@ private: CORBA_BOA_ptr oa_; // Pointer to One True Object Adapter - DEMUX_STRATEGY demux_; + TAO_Demux_Strategy demux_; // demux strategy ACE_INET_Addr addr_; |