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
Hypertable::RangeServer::ConnectionHandler Class Reference

#include <ConnectionHandler.h>

Inheritance diagram for Hypertable::RangeServer::ConnectionHandler:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::RangeServer::ConnectionHandler:
Collaboration graph
[legend]

Public Member Functions

 ConnectionHandler (Comm *comm, ApplicationQueuePtr &aq, Apps::RangeServer *rs)
 
virtual void handle (EventPtr &event)
 Callback method. More...
 
- Public Member Functions inherited from Hypertable::DispatchHandler
virtual ~DispatchHandler ()
 Destructor. More...
 

Private Attributes

Commm_comm
 
ApplicationQueuePtr m_app_queue
 
Apps::RangeServerm_range_server
 
bool m_shutdown {}
 

Detailed Description

Definition at line 37 of file ConnectionHandler.h.

Constructor & Destructor Documentation

Hypertable::RangeServer::ConnectionHandler::ConnectionHandler ( Comm comm,
ApplicationQueuePtr aq,
Apps::RangeServer rs 
)
inline

Definition at line 40 of file ConnectionHandler.h.

Member Function Documentation

virtual void Hypertable::RangeServer::ConnectionHandler::handle ( EventPtr event_ptr)
virtual

Callback method.

When the Comm layer needs to deliver an event to the application, this method is called to do so. The set of event types include, CONNECTION_ESTABLISHED, DISCONNECT, MESSAGE, ERROR, and TIMER.

Parameters
event_ptrsmart pointer to Event object

Implements Hypertable::DispatchHandler.

Member Data Documentation

ApplicationQueuePtr Hypertable::RangeServer::ConnectionHandler::m_app_queue
private

Definition at line 48 of file ConnectionHandler.h.

Comm* Hypertable::RangeServer::ConnectionHandler::m_comm
private

Definition at line 47 of file ConnectionHandler.h.

Apps::RangeServer* Hypertable::RangeServer::ConnectionHandler::m_range_server
private

Definition at line 49 of file ConnectionHandler.h.

bool Hypertable::RangeServer::ConnectionHandler::m_shutdown {}
private

Definition at line 50 of file ConnectionHandler.h.


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