diff options
author | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-12-16 05:26:36 +0000 |
---|---|---|
committer | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-12-16 05:26:36 +0000 |
commit | b04fd3b3a3e4195f6bc671d44b91962972642eec (patch) | |
tree | 1fce6c0c049bf05ea83beea347c553b377095bb3 /TAO/tao/Resource_Factory.cpp | |
parent | 1cf12da21f93cd359e7fccf25b80692614f14cd5 (diff) | |
download | ATCD-b04fd3b3a3e4195f6bc671d44b91962972642eec.tar.gz |
Branched out ACE
Diffstat (limited to 'TAO/tao/Resource_Factory.cpp')
-rw-r--r-- | TAO/tao/Resource_Factory.cpp | 232 |
1 files changed, 0 insertions, 232 deletions
diff --git a/TAO/tao/Resource_Factory.cpp b/TAO/tao/Resource_Factory.cpp deleted file mode 100644 index 8ecee46a4c4..00000000000 --- a/TAO/tao/Resource_Factory.cpp +++ /dev/null @@ -1,232 +0,0 @@ -// $Id$ - -#include "tao/Resource_Factory.h" -#include "tao/Protocol_Factory.h" -#include "tao/orbconf.h" - -#include "ace/ACE.h" - -ACE_RCSID (tao, - Resource_Factory, - "$Id$") - - -// **************************************************************** - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_Protocol_Item::TAO_Protocol_Item (const ACE_CString &name) - : name_ (name), - factory_ (0), - factory_owner_ (0) -{ -} - -TAO_Protocol_Item::~TAO_Protocol_Item (void) -{ - if (this->factory_owner_ == 1) - delete this->factory_; -} - -const ACE_CString & -TAO_Protocol_Item::protocol_name (void) -{ - return this->name_; -} - -TAO_Protocol_Factory * -TAO_Protocol_Item::factory (void) -{ - return this->factory_; -} - -void -TAO_Protocol_Item::factory (TAO_Protocol_Factory *factory, - int owner) -{ - this->factory_ = factory; - this->factory_owner_ = owner; -} - -// ********************************************************************** - -// ******************************************************************** - -TAO_Resource_Factory::TAO_Resource_Factory (void) -{ -} - -TAO_Resource_Factory::~TAO_Resource_Factory (void) -{ -} - -int -TAO_Resource_Factory::use_locked_data_blocks (void) const -{ - return 0; -} - -ACE_Reactor * -TAO_Resource_Factory::get_reactor (void) -{ - return 0; -} - -void -TAO_Resource_Factory::reclaim_reactor (ACE_Reactor *) -{ - return; -} - -TAO_Connector_Registry * -TAO_Resource_Factory::get_connector_registry (void) -{ - return 0; -} - -TAO_Acceptor_Registry * -TAO_Resource_Factory::get_acceptor_registry (void) -{ - return 0; -} - -void -TAO_Resource_Factory::use_local_memory_pool (bool) -{ -} - -ACE_Allocator * -TAO_Resource_Factory::input_cdr_dblock_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::input_cdr_buffer_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::input_cdr_msgblock_allocator (void) -{ - return 0; -} - -int -TAO_Resource_Factory::input_cdr_allocator_type_locked (void) -{ - return -1; -} - -ACE_Allocator * -TAO_Resource_Factory::output_cdr_dblock_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::output_cdr_buffer_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::output_cdr_msgblock_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::amh_response_handler_allocator (void) -{ - return 0; -} - -ACE_Allocator * -TAO_Resource_Factory::ami_response_handler_allocator (void) -{ - return 0; -} - -TAO_ProtocolFactorySet * -TAO_Resource_Factory::get_protocol_factories (void) -{ - return 0; -} - -int -TAO_Resource_Factory::init_protocol_factories (void) -{ - return -1; -} - -TAO_Codeset_Manager * -TAO_Resource_Factory::codeset_manager (void) -{ - return 0; -} - -int -TAO_Resource_Factory::cache_maximum (void) const -{ - return TAO_CONNECTION_CACHE_MAXIMUM; -} - -int -TAO_Resource_Factory::purge_percentage (void) const -{ - return 0; -} - -int -TAO_Resource_Factory::max_muxed_connections (void) const -{ - return 0; -} - - -int -TAO_Resource_Factory::get_parser_names (char **&, int &) -{ - return 0; -} - -ACE_Lock * -TAO_Resource_Factory::create_cached_connection_lock (void) -{ - return 0; -} - -int -TAO_Resource_Factory::locked_transport_cache (void) -{ - return 0; -} - -ACE_Lock * -TAO_Resource_Factory::create_object_key_table_lock (void) -{ - return 0; -} - -ACE_Lock * -TAO_Resource_Factory::create_corba_object_lock (void) -{ - return 0; -} - -TAO_Configurable_Refcount -TAO_Resource_Factory::create_corba_object_refcount (void) -{ - return TAO_Configurable_Refcount ( - TAO_Configurable_Refcount::TAO_NULL_LOCK); -} - -int -TAO_Resource_Factory::load_default_protocols (void) -{ - return 0; -} - -TAO_END_VERSIONED_NAMESPACE_DECL |