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
Hyperspace::ServerConnectionHandler Class Reference

#include <ServerConnectionHandler.h>

Inheritance diagram for Hyperspace::ServerConnectionHandler:
Inheritance graph
[legend]
Collaboration diagram for Hyperspace::ServerConnectionHandler:
Collaboration graph
[legend]

Public Member Functions

 ServerConnectionHandler (ApplicationQueuePtr &app_queue, MasterPtr &master)
 
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
 
MasterPtr m_master
 
uint64_t m_session_id {}
 
uint32_t m_maintenance_interval {}
 

Detailed Description

Definition at line 37 of file ServerConnectionHandler.h.

Constructor & Destructor Documentation

ServerConnectionHandler::ServerConnectionHandler ( ApplicationQueuePtr app_queue,
MasterPtr master 
)

Definition at line 60 of file ServerConnectionHandler.cc.

Member Function Documentation

void ServerConnectionHandler::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.

Definition at line 72 of file ServerConnectionHandler.cc.

Member Data Documentation

ApplicationQueuePtr Hyperspace::ServerConnectionHandler::m_app_queue
private

Definition at line 45 of file ServerConnectionHandler.h.

Comm* Hyperspace::ServerConnectionHandler::m_comm {}
private

Definition at line 44 of file ServerConnectionHandler.h.

uint32_t Hyperspace::ServerConnectionHandler::m_maintenance_interval {}
private

Definition at line 48 of file ServerConnectionHandler.h.

MasterPtr Hyperspace::ServerConnectionHandler::m_master
private

Definition at line 46 of file ServerConnectionHandler.h.

uint64_t Hyperspace::ServerConnectionHandler::m_session_id {}
private

Definition at line 47 of file ServerConnectionHandler.h.


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