ACE  6.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
ACE_NOOP_Creation_Strategy< SVC_HANDLER > Class Template Reference

Implements a no-op creation strategy in order to defer decisions regarding creation to some later point in time, such as in connect or accept strategy. More...

#include <Strategies_T.h>

Inheritance diagram for ACE_NOOP_Creation_Strategy< SVC_HANDLER >:
Inheritance graph
[legend]
Collaboration diagram for ACE_NOOP_Creation_Strategy< SVC_HANDLER >:
Collaboration graph
[legend]

Public Types

typedef ACE_Creation_Strategy
< SVC_HANDLER > 
base_type
 
- Public Types inherited from ACE_Creation_Strategy< SVC_HANDLER >
typedef SVC_HANDLER::addr_type addr_type
 
typedef SVC_HANDLER handler_type
 
typedef SVC_HANDLER::stream_type stream_type
 

Public Member Functions

virtual int make_svc_handler (SVC_HANDLER *&)
 This is a no-op. More...
 
- Public Member Functions inherited from ACE_Creation_Strategy< SVC_HANDLER >
 ACE_Creation_Strategy (ACE_Thread_Manager *=0, ACE_Reactor *=ACE_Reactor::instance())
 Default constructor. More...
 
int open (ACE_Thread_Manager *=0, ACE_Reactor *=ACE_Reactor::instance())
 
virtual ~ACE_Creation_Strategy (void)
 
void dump (void) const
 Dump the state of an object. More...
 

Additional Inherited Members

- Public Attributes inherited from ACE_Creation_Strategy< SVC_HANDLER >
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Protected Attributes inherited from ACE_Creation_Strategy< SVC_HANDLER >
ACE_Thread_Managerthr_mgr_
 Pointer to a thread manager. More...
 
ACE_Reactorreactor_
 Pointer to an ACE_Reactor. More...
 

Detailed Description

template<class SVC_HANDLER>
class ACE_NOOP_Creation_Strategy< SVC_HANDLER >

Implements a no-op creation strategy in order to defer decisions regarding creation to some later point in time, such as in connect or accept strategy.

An example of the use of this is in the ACE_Cached_Connect_Strategy, which only returns a single connection for a given endpoint.

Member Typedef Documentation

template<class SVC_HANDLER >
typedef ACE_Creation_Strategy<SVC_HANDLER> ACE_NOOP_Creation_Strategy< SVC_HANDLER >::base_type

Member Function Documentation

template<class SVC_HANDLER >
int ACE_NOOP_Creation_Strategy< SVC_HANDLER >::make_svc_handler ( SVC_HANDLER *&  )
virtual

This is a no-op.

Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >.


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