CIAO::Port_Activator Class Reference

Base class for port activations. More...

#include <Port_Activator.h>

Inheritance diagram for CIAO::Port_Activator:

Inheritance graph
Collaboration diagram for CIAO::Port_Activator:

Collaboration graph
List of all members.

Public Types

enum  Type { Facet, Sink }

Public Member Functions

 Port_Activator (const char *oid, const char *name, Type t)
virtual ~Port_Activator (void)
const char * name (void) const
 Return the name of port that this activator encapulates.
virtual PortableServer::Servant activate (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL)=0
 Activate the servant reponsible for this port.

Protected Attributes

CORBA::String_var oid_
CORBA::String_var name_
 Name of the port.
Type t_
 What type of port is it, a conumer or facet.

Detailed Description

Base class for port activations.

This is a ABC for the Port_Activator_T <> template class where the bulk of the work is done. This class is simply a place holder so that we could use the pointer to this class to achieve polymorphism for facet and consumer servant activations.

Member Enumeration Documentation

enum CIAO::Port_Activator::Type


Constructor & Destructor Documentation

CIAO::Port_Activator::Port_Activator const char *  oid,
const char *  name,
Type  t

CIAO::Port_Activator::~Port_Activator void   )  [virtual]

Member Function Documentation

virtual PortableServer::Servant CIAO::Port_Activator::activate const PortableServer::ObjectId &oid  ACE_ENV_ARG_DECL  )  [pure virtual]

Activate the servant reponsible for this port.

There are intentionally no exception specifications. It is the caller's responsibility to handle CORBA and C++ specifications.

Implemented in CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >.

const char * CIAO::Port_Activator::name void   )  const

Return the name of port that this activator encapulates.

Member Data Documentation

CORBA::String_var CIAO::Port_Activator::name_ [protected]

Name of the port.

CORBA::String_var CIAO::Port_Activator::oid_ [protected]

The object ID that is used to activate the servant within the POA.

Type CIAO::Port_Activator::t_ [protected]

What type of port is it, a conumer or facet.

The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:42:37 2005 for CIAO by  doxygen 1.4.5