TAO  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Attributes | List of all members
TAO_Server_Strategy_Factory Class Referenceabstract

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>

Inheritance diagram for TAO_Server_Strategy_Factory:
Inheritance graph
Collaboration diagram for TAO_Server_Strategy_Factory:
Collaboration graph

Classes

struct  Active_Object_Map_Creation_Parameters
 

Public Member Functions

 TAO_Server_Strategy_Factory (void)
 Constructor. More...
 
virtual ~TAO_Server_Strategy_Factory (void)
 Destructor. More...
 
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) More...
 
virtual int thread_per_connection_timeout (ACE_Time_Value &timeout)=0
 
virtual int server_connection_thread_flags (void)=0
 The thread activation parameters. More...
 
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. More...
 

Protected Attributes

Active_Object_Map_Creation_Parameters active_object_map_creation_parameters_
 Active object map creation parameters. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

TAO_Server_Strategy_Factory::TAO_Server_Strategy_Factory ( void  )

Constructor.

TAO_Server_Strategy_Factory::~TAO_Server_Strategy_Factory ( void  )
virtual

Destructor.

Member Function Documentation

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
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.

Member Data Documentation

Active_Object_Map_Creation_Parameters TAO_Server_Strategy_Factory::active_object_map_creation_parameters_
protected

Active object map creation parameters.


The documentation for this class was generated from the following files: