#include <RequestProcessingStrategyAOMOnly.h>


Request Processing Strategy which only uses the Active Object Map (AOM)
Definition at line 37 of file RequestProcessingStrategyAOMOnly.h.
| TAO::Portable_Server::RequestProcessingStrategyAOMOnly::RequestProcessingStrategyAOMOnly | ( | void | ) |
Definition at line 20 of file RequestProcessingStrategyAOMOnly.cpp.
{
}
| void TAO::Portable_Server::RequestProcessingStrategyAOMOnly::cleanup_servant | ( | PortableServer::Servant | servant, | |
| const PortableServer::ObjectId & | user_id | |||
| ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 101 of file RequestProcessingStrategyAOMOnly.cpp.
{
if (servant)
{
// ATTENTION: Trick locking here, see class header for details
Non_Servant_Upcall non_servant_upcall (*this->poa_);
ACE_UNUSED_ARG (non_servant_upcall);
servant->_remove_ref ();
}
// This operation causes the association of the Object Id specified
// by the oid parameter and its servant to be removed from the
// Active Object Map.
if (this->poa_->unbind_using_user_id (user_id) != 0)
{
throw ::CORBA::OBJ_ADAPTER ();
}
}
| void TAO::Portable_Server::RequestProcessingStrategyAOMOnly::etherealize_objects | ( | CORBA::Boolean | etherealize_objects | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 124 of file RequestProcessingStrategyAOMOnly.cpp.
{
}
| PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategyAOMOnly::get_servant | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 47 of file RequestProcessingStrategyAOMOnly.cpp.
{
throw PortableServer::POA::WrongPolicy ();
}
| PortableServer::ServantManager_ptr TAO::Portable_Server::RequestProcessingStrategyAOMOnly::get_servant_manager | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 27 of file RequestProcessingStrategyAOMOnly.cpp.
{
throw PortableServer::POA::WrongPolicy ();
}
| PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategyAOMOnly::id_to_servant | ( | const PortableServer::ObjectId & | id | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 94 of file RequestProcessingStrategyAOMOnly.cpp.
{
return this->poa_->user_id_to_servant_i (id);
}
| TAO_SERVANT_LOCATION TAO::Portable_Server::RequestProcessingStrategyAOMOnly::locate_servant | ( | const PortableServer::ObjectId & | system_id, | |
| PortableServer::Servant & | servant | |||
| ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 55 of file RequestProcessingStrategyAOMOnly.cpp.
{
return this->poa_->servant_present (system_id, servant);
}
| PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategyAOMOnly::locate_servant | ( | const char * | operation, | |
| const PortableServer::ObjectId & | system_id, | |||
| TAO::Portable_Server::Servant_Upcall & | servant_upcall, | |||
| TAO::Portable_Server::POA_Current_Impl & | poa_current_impl, | |||
| bool & | wait_occurred_restart_call | |||
| ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 63 of file RequestProcessingStrategyAOMOnly.cpp.
{
PortableServer::Servant servant = 0;
servant = this->poa_->find_servant (system_id,
servant_upcall,
poa_current_impl);
if (servant == 0)
{
throw ::CORBA::OBJECT_NOT_EXIST (
CORBA::OMGVMCID | 2,
CORBA::COMPLETED_NO);
}
return servant;
}
| void TAO::Portable_Server::RequestProcessingStrategyAOMOnly::post_invoke_servant_cleanup | ( | const PortableServer::ObjectId & | system_id, | |
| const TAO::Portable_Server::Servant_Upcall & | servant_upcall | |||
| ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 137 of file RequestProcessingStrategyAOMOnly.cpp.
{
}
| PortableServer::ObjectId * TAO::Portable_Server::RequestProcessingStrategyAOMOnly::servant_to_id | ( | PortableServer::Servant | servant | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 130 of file RequestProcessingStrategyAOMOnly.cpp.
{
return this->poa_->servant_to_user_id (servant);
}
| void TAO::Portable_Server::RequestProcessingStrategyAOMOnly::set_servant | ( | PortableServer::Servant | servant | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 40 of file RequestProcessingStrategyAOMOnly.cpp.
{
throw PortableServer::POA::WrongPolicy ();
}
| void TAO::Portable_Server::RequestProcessingStrategyAOMOnly::set_servant_manager | ( | PortableServer::ServantManager_ptr | imgr | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 33 of file RequestProcessingStrategyAOMOnly.cpp.
{
throw PortableServer::POA::WrongPolicy ();
}
| PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategyAOMOnly::system_id_to_servant | ( | const PortableServer::ObjectId & | system_id | ) | [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 87 of file RequestProcessingStrategyAOMOnly.cpp.
{
return this->poa_->find_servant (system_id);
}
| PortableServer::RequestProcessingPolicyValue TAO::Portable_Server::RequestProcessingStrategyAOMOnly::type | ( | void | ) | const [virtual] |
Implements TAO::Portable_Server::RequestProcessingStrategy.
Definition at line 144 of file RequestProcessingStrategyAOMOnly.cpp.
{
return ::PortableServer::USE_ACTIVE_OBJECT_MAP_ONLY;
}
1.7.0