Implements a functor for the Implicit_Deactivator class. More...
#include <Implicit_Deactivator.h>
Public Types | |
| typedef PortableServer::ServantBase * | argument |
Public Member Functions | |
| void | operator() (PortableServer::ServantBase *servant) throw () |
Implements a functor for the Implicit_Deactivator class.
Definition at line 37 of file Implicit_Deactivator.h.
| typedef PortableServer::ServantBase* TAO::Utils::Implicit_Deactivation_Functor::argument |
Definition at line 39 of file Implicit_Deactivator.h.
| void TAO::Utils::Implicit_Deactivation_Functor::operator() | ( | PortableServer::ServantBase * | servant | ) | throw () |
Definition at line 11 of file Implicit_Deactivator.cpp.
{
try
{
PortableServer::POA_var poa (servant->_default_POA ());
PortableServer::ObjectId_var id (poa->servant_to_id (servant));
poa->deactivate_object (id.in());
}
catch (...)
{
// @@ Cannot let exceptions escape, yet we need to log them!
}
}
1.7.0