diff options
author | arvindk <arvindk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-08-29 15:11:31 +0000 |
---|---|---|
committer | arvindk <arvindk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-08-29 15:11:31 +0000 |
commit | 5f3a3066c2d887bf6b7c7496a838dbf0a9a03c11 (patch) | |
tree | 34b85f90d9e101bea378f6ebe98b6aa36e25a116 /TAO/tao/default_resource.cpp | |
parent | 2481894f06a2572c7e015250e32002fe16df5596 (diff) | |
download | ATCD-5f3a3066c2d887bf6b7c7496a838dbf0a9a03c11.tar.gz |
ChangelogTag: Mon Aug 29 09:03:55 2005 Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/default_resource.cpp')
-rw-r--r-- | TAO/tao/default_resource.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp index cdbb426cac2..8566581e783 100644 --- a/TAO/tao/default_resource.cpp +++ b/TAO/tao/default_resource.cpp @@ -406,6 +406,10 @@ TAO_Default_Resource_Factory::init (int argc, ACE_TCHAR *argv[]) ACE_TEXT("-ORBFlushingStrategy")) == 0) { ++curarg; + /* + * Hook to specialize TAO's Flushing strategy implementations + */ +//@@ FLUSHING_STRATEGY_SPL_COMMENT_HOOK_START if (curarg < argc) { ACE_TCHAR* name = argv[curarg]; @@ -422,6 +426,7 @@ TAO_Default_Resource_Factory::init (int argc, ACE_TCHAR *argv[]) else this->report_option_value_error (ACE_TEXT("-ORBFlushingStrategy"), name); } +//@@ FLUSHING_STRATEGY_SPL_COMMENT_HOOK_END } else if (ACE_OS::strcasecmp (argv[curarg], ACE_TEXT ("-ORBMuxedConnectionMax")) == 0) @@ -712,7 +717,10 @@ ACE_Reactor_Impl* TAO_Default_Resource_Factory::allocate_reactor_impl (void) const { ACE_Reactor_Impl *impl = 0; - + /* + * Hook to specialize TAO's reactor implementation. + */ +//@@ TAO_REACTOR_SPL_COMMENT_HOOK_START ACE_NEW_RETURN (impl, ACE_TP_Reactor (ACE::max_handles (), 1, @@ -721,6 +729,7 @@ TAO_Default_Resource_Factory::allocate_reactor_impl (void) const this->reactor_mask_signals_, ACE_Select_Reactor_Token::LIFO), 0); +//@@ TAO_REACTOR_SPL_COMMENT_HOOK_END return impl; } @@ -1079,4 +1088,3 @@ ACE_STATIC_SVC_DEFINE (TAO_Default_Resource_Factory, | ACE_Service_Type::DELETE_OBJ, 0) ACE_FACTORY_DEFINE (TAO, TAO_Default_Resource_Factory) - |