#include <RequestProcessingStrategy.h>
Public Member Functions | |
RequestProcessingStrategy (void) | |
virtual void | strategy_init (TAO_Root_POA *poa) |
virtual void | strategy_init (TAO_Root_POA *poa,::PortableServer::ServantRetentionPolicyValue) |
virtual void | strategy_cleanup (void) |
virtual PortableServer::ServantManager_ptr | get_servant_manager (void)=0 |
virtual void | set_servant_manager (PortableServer::ServantManager_ptr imgr)=0 |
virtual void | set_servant (PortableServer::Servant servant)=0 |
virtual PortableServer::Servant | get_servant (void)=0 |
virtual TAO_SERVANT_LOCATION | locate_servant (const PortableServer::ObjectId &system_id, PortableServer::Servant &servant)=0 |
virtual PortableServer::Servant | 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)=0 |
virtual void | cleanup_servant (PortableServer::Servant servant, const PortableServer::ObjectId &user_id)=0 |
virtual PortableServer::Servant | system_id_to_servant (const PortableServer::ObjectId &system_id)=0 |
virtual PortableServer::Servant | id_to_servant (const PortableServer::ObjectId &id)=0 |
virtual void | etherealize_objects (CORBA::Boolean etherealize_objects)=0 |
virtual PortableServer::ObjectId * | servant_to_id (PortableServer::Servant servant)=0 |
virtual void | post_invoke_servant_cleanup (const PortableServer::ObjectId &system_id, const TAO::Portable_Server::Servant_Upcall &servant_upcall)=0 |
virtual ::PortableServer::RequestProcessingPolicyValue | type () const =0 |
virtual ::PortableServer::ServantRetentionPolicyValue | sr_type () const |
Protected Attributes | |
TAO_Root_POA * | poa_ |
::PortableServer::ServantRetentionPolicyValue | sr_value_ |
Definition at line 49 of file RequestProcessingStrategy.h.
TAO::Portable_Server::RequestProcessingStrategy::RequestProcessingStrategy | ( | void | ) |
Definition at line 24 of file RequestProcessingStrategy.cpp.
: poa_ (0) { }
virtual void TAO::Portable_Server::RequestProcessingStrategy::cleanup_servant | ( | PortableServer::Servant | servant, | |
const PortableServer::ObjectId & | user_id | |||
) | [pure virtual] |
virtual void TAO::Portable_Server::RequestProcessingStrategy::etherealize_objects | ( | CORBA::Boolean | etherealize_objects | ) | [pure virtual] |
virtual PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategy::get_servant | ( | void | ) | [pure virtual] |
virtual PortableServer::ServantManager_ptr TAO::Portable_Server::RequestProcessingStrategy::get_servant_manager | ( | void | ) | [pure virtual] |
virtual PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategy::id_to_servant | ( | const PortableServer::ObjectId & | id | ) | [pure virtual] |
virtual PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategy::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 | |||
) | [pure virtual] |
virtual TAO_SERVANT_LOCATION TAO::Portable_Server::RequestProcessingStrategy::locate_servant | ( | const PortableServer::ObjectId & | system_id, | |
PortableServer::Servant & | servant | |||
) | [pure virtual] |
virtual void TAO::Portable_Server::RequestProcessingStrategy::post_invoke_servant_cleanup | ( | const PortableServer::ObjectId & | system_id, | |
const TAO::Portable_Server::Servant_Upcall & | servant_upcall | |||
) | [pure virtual] |
virtual PortableServer::ObjectId* TAO::Portable_Server::RequestProcessingStrategy::servant_to_id | ( | PortableServer::Servant | servant | ) | [pure virtual] |
virtual void TAO::Portable_Server::RequestProcessingStrategy::set_servant | ( | PortableServer::Servant | servant | ) | [pure virtual] |
virtual void TAO::Portable_Server::RequestProcessingStrategy::set_servant_manager | ( | PortableServer::ServantManager_ptr | imgr | ) | [pure virtual] |
PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::RequestProcessingStrategy::sr_type | ( | ) | const |
Definition at line 51 of file RequestProcessingStrategy.cpp.
{ return sr_value_; }
void TAO::Portable_Server::RequestProcessingStrategy::strategy_cleanup | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::Policy_Strategy.
Reimplemented in TAO::Portable_Server::RequestProcessingStrategyDefaultServant, TAO::Portable_Server::RequestProcessingStrategyServantActivator, and TAO::Portable_Server::RequestProcessingStrategyServantLocator.
Definition at line 45 of file RequestProcessingStrategy.cpp.
{ poa_ = 0; }
void TAO::Portable_Server::RequestProcessingStrategy::strategy_init | ( | TAO_Root_POA * | poa | ) | [virtual] |
Implements TAO::Portable_Server::Policy_Strategy.
Definition at line 39 of file RequestProcessingStrategy.cpp.
{ poa_ = poa; }
void TAO::Portable_Server::RequestProcessingStrategy::strategy_init | ( | TAO_Root_POA * | poa, | |
::PortableServer::ServantRetentionPolicyValue | sr_value | |||
) | [virtual] |
Definition at line 30 of file RequestProcessingStrategy.cpp.
virtual PortableServer::Servant TAO::Portable_Server::RequestProcessingStrategy::system_id_to_servant | ( | const PortableServer::ObjectId & | system_id | ) | [pure virtual] |
virtual ::PortableServer::RequestProcessingPolicyValue TAO::Portable_Server::RequestProcessingStrategy::type | ( | ) | const [pure virtual] |
TAO_Root_POA* TAO::Portable_Server::RequestProcessingStrategy::poa_ [protected] |
Definition at line 111 of file RequestProcessingStrategy.h.
::PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::RequestProcessingStrategy::sr_value_ [protected] |
Definition at line 112 of file RequestProcessingStrategy.h.