Activator that is registered with the POA for facet and consumer servants. More...
#include <Servant_Activator.h>
Public Member Functions | |
boolean | update_port_activator (in PortableServer::ObjectId oid) |
boolean | register_port_activator (in Port_Activator pa) |
Activator that is registered with the POA for facet and consumer servants.
This class acts like a factory in some sense. This factory is registered with the POA with RETAIN policy. When the factory gets a call back as part of the upcall, this factory looks at the list of port activators registered, uses the OID to pick the right one (yes a linear algorithm is used), calls activate () on it which returns the servant for *that* port.
boolean CIAO::Servant_Activator::register_port_activator | ( | in Port_Activator | pa | ) |
boolean CIAO::Servant_Activator::update_port_activator | ( | in PortableServer::ObjectId | oid | ) |