Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Server_Strategy_Factory Class Reference

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
[legend]
Collaboration diagram for TAO_Server_Strategy_Factory:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_Server_Strategy_Factory (void)
 Constructor. More...

virtual ~TAO_Server_Strategy_Factory (void)
 Destructor. More...

virtual int open (TAO_ORB_Core *orb_core)
virtual int enable_poa_locking (void)
 Enable POA locking? More...

virtual int activate_server_connections (void)
 Are server connections active (i.e. run in their own thread). More...

virtual int thread_per_connection_timeout (ACE_Time_Value &timeout)
virtual int server_connection_thread_flags (void)
 The thread activation parameters. More...

virtual int server_connection_thread_count (void)
virtual const Active_Object_Map_Creation_Parametersactive_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.

Definition at line 46 of file Server_Strategy_Factory.h.


Constructor & Destructor Documentation

TAO_Server_Strategy_Factory::TAO_Server_Strategy_Factory void   
 

Constructor.

Definition at line 8 of file Server_Strategy_Factory.cpp.

00009   : active_object_map_creation_parameters_ ()
00010 {
00011 }

TAO_Server_Strategy_Factory::~TAO_Server_Strategy_Factory void    [virtual]
 

Destructor.

Definition at line 13 of file Server_Strategy_Factory.cpp.

00014 {
00015 }


Member Function Documentation

int TAO_Server_Strategy_Factory::activate_server_connections void    [virtual]
 

Are server connections active (i.e. run in their own thread).

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 30 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy::activate_svc_handler.

00031 {
00032   return 0;
00033 }

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.

Definition at line 54 of file Server_Strategy_Factory.cpp.

References active_object_map_creation_parameters_.

00055 {
00056   return this->active_object_map_creation_parameters_;
00057 }

int TAO_Server_Strategy_Factory::enable_poa_locking void    [virtual]
 

Enable POA locking?

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 24 of file Server_Strategy_Factory.cpp.

00025 {
00026   return -1;
00027 }

int TAO_Server_Strategy_Factory::open TAO_ORB_Core   orb_core [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 streategies herein might need some of that information.

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 18 of file Server_Strategy_Factory.cpp.

00019 {
00020   return 0;
00021 }

int TAO_Server_Strategy_Factory::server_connection_thread_count void    [virtual]
 

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 48 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy::activate_svc_handler.

00049 {
00050   return 0;
00051 }

int TAO_Server_Strategy_Factory::server_connection_thread_flags void    [virtual]
 

The thread activation parameters.

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 42 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy::activate_svc_handler.

00043 {
00044   return 0;
00045 }

int TAO_Server_Strategy_Factory::thread_per_connection_timeout ACE_Time_Value   timeout [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.

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 36 of file Server_Strategy_Factory.cpp.

00037 {
00038   return -1;
00039 }


Member Data Documentation

Active_Object_Map_Creation_Parameters TAO_Server_Strategy_Factory::active_object_map_creation_parameters_ [protected]
 

Active object map creation parameters.

Definition at line 128 of file Server_Strategy_Factory.h.

Referenced by active_object_map_creation_parameters, and TAO_Default_Server_Strategy_Factory::parse_args.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:39:07 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002