#include <Port_Activator.h>
Inheritance diagram for CIAO::Port_Activator:


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. | |
| void | set_name (const char *name) |
| set the name | |
| virtual PortableServer::Servant | activate (const PortableServer::ObjectId &oid ACE_ENV_ARG_DECL)=0 |
| Activate the servant reponsible for this port. | |
| virtual void | deactivate (const PortableServer::Servant servant ACE_ENV_ARG_DECL)=0 |
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. | |
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.
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Activate the servant reponsible for this port. There are intentionally no throw specifications. It is the caller's responsibility to handle CORBA and C++ specifications. Implemented in CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >. |
|
|
Implemented in CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >. |
|
|
Return the name of port that this activator encapulates.
|
|
|
set the name
|
|
|
Name of the port.
|
|
|
The object ID that is used to activate the servant within the POA. |
|
|
What type of port is it, a conumer or facet.
|
1.3.9.1