Public Types | Public Member Functions

TAO::Utils::Implicit_Deactivation_Functor Struct Reference

Implements a functor for the Implicit_Deactivator class. More...

#include <Implicit_Deactivator.h>

List of all members.

Public Types

typedef
PortableServer::ServantBase
argument

Public Member Functions

void operator() (PortableServer::ServantBase *servant) throw ()

Detailed Description

Implements a functor for the Implicit_Deactivator class.

Definition at line 37 of file Implicit_Deactivator.h.


Member Typedef Documentation

typedef PortableServer::ServantBase* TAO::Utils::Implicit_Deactivation_Functor::argument

Definition at line 39 of file Implicit_Deactivator.h.


Member Function Documentation

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!
    }
}


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines