This class doesn't use any hints for POA active hint strategy. More...
#include <Object_Adapter.h>
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 doesn't use any hints for POA active hint strategy.
This class will simply use the POA names as is. And since no hint is added, the IORs will be smaller.
Definition at line 291 of file Object_Adapter.h.
TAO_Object_Adapter::No_Hint_Strategy::~No_Hint_Strategy | ( | void | ) | [virtual] |
Definition at line 1041 of file Object_Adapter.cpp.
{ }
int TAO_Object_Adapter::No_Hint_Strategy::bind_persistent_poa | ( | const poa_name & | folded_name, | |
TAO_Root_POA * | poa, | |||
poa_name_out | system_name | |||
) | [virtual] |
Implements TAO_Object_Adapter::Hint_Strategy.
Definition at line 1063 of file Object_Adapter.cpp.
{ int result = this->object_adapter_->persistent_poa_name_map_->bind (folded_name, poa); if (result == 0) ACE_NEW_RETURN (system_name, poa_name (folded_name), -1); return result; }
int TAO_Object_Adapter::No_Hint_Strategy::find_persistent_poa | ( | const poa_name & | system_name, | |
TAO_Root_POA *& | poa | |||
) | [virtual] |
Implements TAO_Object_Adapter::Hint_Strategy.
Definition at line 1046 of file Object_Adapter.cpp.
{ int result = this->object_adapter_->persistent_poa_name_map_->find (system_name, poa); if (result != 0) { result = this->object_adapter_->activate_poa (system_name, poa); } return result; }
int TAO_Object_Adapter::No_Hint_Strategy::unbind_persistent_poa | ( | const poa_name & | folded_name, | |
const poa_name & | system_name | |||
) | [virtual] |
Implements TAO_Object_Adapter::Hint_Strategy.
Definition at line 1078 of file Object_Adapter.cpp.
{ return this->object_adapter_->persistent_poa_name_map_->unbind (folded_name); }