0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
HandlerFactory Class Reference

This handler factory gets passed into Comm::listen. More...

Inheritance diagram for HandlerFactory:
Inheritance graph
[legend]
Collaboration diagram for HandlerFactory:
Collaboration graph
[legend]

Public Member Functions

 HandlerFactory (DispatchHandlerPtr &dhp)
 
virtual void get_instance (DispatchHandlerPtr &dhp)
 Creates a connection dispatch handler. More...
 
 HandlerFactory (ApplicationQueuePtr &app_queue, MasterPtr &master)
 
virtual void get_instance (DispatchHandlerPtr &dhp)
 Creates a connection dispatch handler. More...
 
- Public Member Functions inherited from Hypertable::ConnectionHandlerFactory
virtual ~ConnectionHandlerFactory ()
 Destructor. More...
 

Private Attributes

DispatchHandlerPtr m_dispatch_handler_ptr
 
ApplicationQueuePtr m_app_queue
 
MasterPtr m_master
 

Detailed Description

This handler factory gets passed into Comm::listen.

It gets constructed with a pointer to a DispatchHandler.

Definition at line 186 of file sampleClient.cc.

Constructor & Destructor Documentation

HandlerFactory::HandlerFactory ( DispatchHandlerPtr dhp)
inline

Definition at line 188 of file sampleClient.cc.

HandlerFactory::HandlerFactory ( ApplicationQueuePtr app_queue,
MasterPtr master 
)
inline

Definition at line 61 of file main.cc.

Member Function Documentation

virtual void HandlerFactory::get_instance ( DispatchHandlerPtr dhp)
inlinevirtual

Creates a connection dispatch handler.

Parameters
dhpReference to created dispatch handler

Implements Hypertable::ConnectionHandlerFactory.

Definition at line 64 of file main.cc.

virtual void HandlerFactory::get_instance ( DispatchHandlerPtr dhp)
inlinevirtual

Creates a connection dispatch handler.

Parameters
dhpReference to created dispatch handler

Implements Hypertable::ConnectionHandlerFactory.

Definition at line 191 of file sampleClient.cc.

Member Data Documentation

ApplicationQueuePtr HandlerFactory::m_app_queue
private

Definition at line 69 of file main.cc.

DispatchHandlerPtr HandlerFactory::m_dispatch_handler_ptr
private

Definition at line 195 of file sampleClient.cc.

MasterPtr HandlerFactory::m_master
private

Definition at line 70 of file main.cc.


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