#include <Object_Adapter.h>
Inheritance diagram for TAO_Object_Adapter::No_Hint_Strategy:
Public Member Functions | |
virtual | ~No_Hint_Strategy (void) |
virtual int | find_persistent_poa (const poa_name &system_name, TAO_Root_POA *&poa) |
virtual int | bind_persistent_poa (const poa_name &folded_name, TAO_Root_POA *poa, poa_name_out system_name) |
virtual int | unbind_persistent_poa (const poa_name &folded_name, const poa_name &system_name) |
This class will simply use the POA names as is. And since no hint is added, the IORs will be smaller.
Definition at line 310 of file Object_Adapter.h.
|
Definition at line 1039 of file Object_Adapter.cpp.
01040 { 01041 } |
|
Implements TAO_Object_Adapter::Hint_Strategy. Definition at line 1061 of file Object_Adapter.cpp. References ACE_NEW_RETURN, ACE_Map< KEY, VALUE >::bind(), TAO_Object_Adapter::persistent_poa_name_map_, TAO_Object_Adapter::poa_name, and TAO_Object_Adapter::poa_name_out.
01065 { 01066 int result = 01067 this->object_adapter_->persistent_poa_name_map_->bind (folded_name, poa); 01068 if (result == 0) 01069 ACE_NEW_RETURN (system_name, 01070 poa_name (folded_name), 01071 -1); 01072 return result; 01073 } |
|
Implements TAO_Object_Adapter::Hint_Strategy. Definition at line 1044 of file Object_Adapter.cpp. References TAO_Object_Adapter::activate_poa(), ACE_Map< KEY, VALUE >::find(), TAO_Object_Adapter::persistent_poa_name_map_, and TAO_Object_Adapter::poa_name.
01047 { 01048 int result = 01049 this->object_adapter_->persistent_poa_name_map_->find (system_name, 01050 poa); 01051 if (result != 0) 01052 { 01053 result = 01054 this->object_adapter_->activate_poa (system_name, poa); 01055 } 01056 01057 return result; 01058 } |
|
Implements TAO_Object_Adapter::Hint_Strategy. Definition at line 1076 of file Object_Adapter.cpp. References TAO_Object_Adapter::persistent_poa_name_map_, TAO_Object_Adapter::poa_name, and ACE_Map< KEY, VALUE >::unbind().
01079 { 01080 return this->object_adapter_->persistent_poa_name_map_->unbind (folded_name); 01081 } |