MVOMessageHandler Class Reference

#include <HNetMessageRegistrar.h>

Public Member Functions

 MVOMessageHandler (HBaseView *hbaseview)
 
void ProcessMessage (const char *message_type, const char *data, unsigned int data_length)
 

Protected Attributes

HBaseViewm_pHBaseView
 A pointer to an HBaseView object.
 

Detailed Description

MVOMessageHandler is a subclassed HNetMessageHandler that adds an HBaseView pointer.

Constructor & Destructor Documentation

◆ MVOMessageHandler()

MVOMessageHandler::MVOMessageHandler ( HBaseView hbaseview)
inline

This constructor accepts a pointer to an HBaseView object.

Parameters
hbaseviewA pointer to the HBaseView object associated with this message handler.

References m_pHBaseView.

Member Function Documentation

◆ ProcessMessage()

void MVOMessageHandler::ProcessMessage ( const char *  message_type,
const char *  data,
unsigned int  data_length 
)
inline

This method passes the message data to the appropriate function in your application.

Parameters
message_typeA character pointer denoting the type of message.
dataA character pointer denoting the message data.
data_lengthAn unsigned int indicating the length of the data in bytes.

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