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 Member Functions

 TAO_Server_Strategy_Factory (void)
 Constructor.

virtual ~TAO_Server_Strategy_Factory (void)
 Destructor.

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

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

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

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.


Protected Attributes

Active_Object_Map_Creation_Parameters active_object_map_creation_parameters_
 Active object map creation parameters.


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 47 of file Server_Strategy_Factory.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Server_Strategy_Factory::TAO_Server_Strategy_Factory void   ) 
 

Constructor.

Definition at line 13 of file Server_Strategy_Factory.cpp.

00014   : active_object_map_creation_parameters_ ()
00015 {
00016 }

TAO_Server_Strategy_Factory::~TAO_Server_Strategy_Factory void   )  [virtual]
 

Destructor.

Definition at line 18 of file Server_Strategy_Factory.cpp.

00019 {
00020 }


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 35 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy< SVC_HANDLER >::activate_svc_handler(), and TAO_ORB_Core::run().

00036 {
00037   return 0;
00038 }

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 59 of file Server_Strategy_Factory.cpp.

References active_object_map_creation_parameters_.

00060 {
00061   return this->active_object_map_creation_parameters_;
00062 }

int TAO_Server_Strategy_Factory::enable_poa_locking void   )  [virtual]
 

Enable POA locking?

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 29 of file Server_Strategy_Factory.cpp.

00030 {
00031   return -1;
00032 }

int TAO_Server_Strategy_Factory::open TAO_ORB_Core orb_core  )  [virtual]
 

Call on various strategies. This is not performed in 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 23 of file Server_Strategy_Factory.cpp.

00024 {
00025   return 0;
00026 }

int TAO_Server_Strategy_Factory::server_connection_thread_count void   )  [virtual]
 

Reimplemented in TAO_Default_Server_Strategy_Factory.

Definition at line 53 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy< SVC_HANDLER >::activate_svc_handler().

00054 {
00055   return 0;
00056 }

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 47 of file Server_Strategy_Factory.cpp.

Referenced by TAO_Concurrency_Strategy< SVC_HANDLER >::activate_svc_handler().

00048 {
00049   return 0;
00050 }

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 41 of file Server_Strategy_Factory.cpp.

00042 {
00043   return -1;
00044 }


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 130 of file Server_Strategy_Factory.h.

Referenced by active_object_map_creation_parameters().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:23:30 2006 for TAO by doxygen 1.3.6