TAO
2.0.8
|
Base class for the server's abstract factory that manufactures various strategies of special utility to it. This simply serves as an interface to a subclass that REALLY gets specified and loaded by the Service Configurator. More...
#include <Server_Strategy_Factory.h>
Classes | |
struct | Active_Object_Map_Creation_Parameters |
Public Member Functions | |
TAO_Server_Strategy_Factory (void) | |
Constructor. | |
virtual | ~TAO_Server_Strategy_Factory (void) |
Destructor. | |
virtual int | open (TAO_ORB_Core *orb_core)=0 |
virtual int | activate_server_connections (void)=0 |
Are server connections active (i.e. run in their own thread) | |
virtual int | thread_per_connection_timeout (ACE_Time_Value &timeout)=0 |
virtual int | server_connection_thread_flags (void)=0 |
The thread activation parameters. | |
virtual int | server_connection_thread_count (void)=0 |
virtual const Active_Object_Map_Creation_Parameters & | active_object_map_creation_parameters (void) const |
Return the active object map creation parameters. | |
Protected Attributes | |
Active_Object_Map_Creation_Parameters | active_object_map_creation_parameters_ |
Active object map creation parameters. |
Base class for the server's abstract factory that manufactures various strategies of special utility to it. This simply serves as an interface to a subclass that REALLY gets specified and loaded by the Service Configurator.
TAO_Server_Strategy_Factory::TAO_Server_Strategy_Factory | ( | void | ) |
Constructor.
TAO_Server_Strategy_Factory::~TAO_Server_Strategy_Factory | ( | void | ) | [virtual] |
Destructor.
virtual int TAO_Server_Strategy_Factory::activate_server_connections | ( | void | ) | [pure virtual] |
Are server connections active (i.e. run in their own thread)
Implemented in TAO_Default_Server_Strategy_Factory.
const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters & TAO_Server_Strategy_Factory::active_object_map_creation_parameters | ( | void | ) | const [virtual] |
Return the active object map creation parameters.
virtual int TAO_Server_Strategy_Factory::open | ( | TAO_ORB_Core * | orb_core | ) | [pure virtual] |
Call <open> on various strategies. This is not performed in <init> so that the other portions of the ORB have a chance to "settle" in their initialization since the strategies herein might need some of that information.
Implemented in TAO_Default_Server_Strategy_Factory.
virtual int TAO_Server_Strategy_Factory::server_connection_thread_count | ( | void | ) | [pure virtual] |
Implemented in TAO_Default_Server_Strategy_Factory.
virtual int TAO_Server_Strategy_Factory::server_connection_thread_flags | ( | void | ) | [pure virtual] |
The thread activation parameters.
Implemented in TAO_Default_Server_Strategy_Factory.
virtual int TAO_Server_Strategy_Factory::thread_per_connection_timeout | ( | ACE_Time_Value & | timeout | ) | [pure virtual] |
Obtain the timeout value used by the thread-per-connection server threads to poll the shutdown flag in the ORB. Return -1 if the ORB should use the compile-time defaults. If the return value is zero then the threads block without timeouts.
Implemented in TAO_Default_Server_Strategy_Factory.
Active_Object_Map_Creation_Parameters TAO_Server_Strategy_Factory::active_object_map_creation_parameters_ [protected] |
Active object map creation parameters.