00001
00002
00003 #include "tao/Server_Strategy_Factory.h"
00004 #include "tao/orbconf.h"
00005
00006 ACE_RCSID (tao,
00007 Server_Strategy_Factory,
00008 "$Id: Server_Strategy_Factory.cpp 69153 2005-11-02 11:03:27Z ossama $")
00009
00010
00011 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00012
00013 TAO_Server_Strategy_Factory::TAO_Server_Strategy_Factory (void)
00014 : active_object_map_creation_parameters_ ()
00015 {
00016 }
00017
00018 TAO_Server_Strategy_Factory::~TAO_Server_Strategy_Factory(void)
00019 {
00020 }
00021
00022 int
00023 TAO_Server_Strategy_Factory::open (TAO_ORB_Core*)
00024 {
00025 return 0;
00026 }
00027
00028 int
00029 TAO_Server_Strategy_Factory::enable_poa_locking (void)
00030 {
00031 return -1;
00032 }
00033
00034 int
00035 TAO_Server_Strategy_Factory::activate_server_connections (void)
00036 {
00037 return 0;
00038 }
00039
00040 int
00041 TAO_Server_Strategy_Factory::thread_per_connection_timeout (ACE_Time_Value &)
00042 {
00043 return -1;
00044 }
00045
00046 int
00047 TAO_Server_Strategy_Factory::server_connection_thread_flags (void)
00048 {
00049 return 0;
00050 }
00051
00052 int
00053 TAO_Server_Strategy_Factory::server_connection_thread_count (void)
00054 {
00055 return 0;
00056 }
00057
00058 const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &
00059 TAO_Server_Strategy_Factory::active_object_map_creation_parameters (void) const
00060 {
00061 return this->active_object_map_creation_parameters_;
00062 }
00063
00064 TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters::Active_Object_Map_Creation_Parameters (void)
00065 : active_object_map_size_ (TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE),
00066 object_lookup_strategy_for_user_id_policy_ (TAO_DYNAMIC_HASH),
00067 object_lookup_strategy_for_system_id_policy_ (TAO_ACTIVE_DEMUX),
00068 reverse_object_lookup_strategy_for_unique_id_policy_ (TAO_DYNAMIC_HASH),
00069 use_active_hint_in_ids_ (1),
00070 allow_reactivation_of_system_ids_ (1),
00071 poa_map_size_ (TAO_DEFAULT_SERVER_POA_MAP_SIZE),
00072 poa_lookup_strategy_for_transient_id_policy_ (TAO_ACTIVE_DEMUX),
00073 poa_lookup_strategy_for_persistent_id_policy_ (TAO_DYNAMIC_HASH),
00074 use_active_hint_in_poa_names_ (1)
00075 {
00076 }
00077
00078 TAO_END_VERSIONED_NAMESPACE_DECL