0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hypertable::ConnectionInitializer Class Referenceabstract

Driver interface for connection initialization handshake in ConnectionManager. More...

#include <ConnectionInitializer.h>

Inheritance diagram for Hypertable::ConnectionInitializer:
Inheritance graph
[legend]

Public Member Functions

virtual CommBufcreate_initialization_request ()=0
 Creates a connection initialization message. More...
 
virtual bool process_initialization_response (Event *event)=0
 Process response to initialization message. More...
 
virtual uint64_t initialization_command ()=0
 Command code (see CommHeader::command) for initialization response message. More...
 

Detailed Description

Driver interface for connection initialization handshake in ConnectionManager.

Definition at line 43 of file ConnectionInitializer.h.

Member Function Documentation

virtual CommBuf* Hypertable::ConnectionInitializer::create_initialization_request ( )
pure virtual

Creates a connection initialization message.

Returns
Initialization message (freed by caller)

Implemented in Hypertable::LocationInitializer.

virtual uint64_t Hypertable::ConnectionInitializer::initialization_command ( )
pure virtual

Command code (see CommHeader::command) for initialization response message.

This method is used by the ConnectionManager to determine if a received message is part of the initialization handshake.

Returns
Initialization command code

Implemented in Hypertable::LocationInitializer.

virtual bool Hypertable::ConnectionInitializer::process_initialization_response ( Event event)
pure virtual

Process response to initialization message.

Parameters
eventPointer to event object holding response message
Returns
true on success, false on failure

Implemented in Hypertable::LocationInitializer.


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