HSelectMessageHandler Class Reference

#include <HNetMessageRegistrar.h>

Public Member Functions

 HSelectMessageHandler (HBaseView *hbaseview)
void ProcessMessage (const char *message_type, const char *data, unsigned int data_length)
- Public Member Functions inherited from MVOMessageHandler
 MVOMessageHandler (HBaseView *hbaseview)
void ProcessMessage (const char *message_type, const char *data, unsigned int data_length)

Additional Inherited Members

- Protected Attributes inherited from MVOMessageHandler
 A pointer to an HBaseView object.

Detailed Description

HSelectMessageHandler is subclassed from MVOMessageHandler. It handles the messages "H_SELECT_ENTITY", "H_DESELECT_ALL" and "H_DELETE_SELECTION_LIST".

Constructor & Destructor Documentation

◆ HSelectMessageHandler()

HSelectMessageHandler::HSelectMessageHandler ( HBaseView hbaseview)

Constructs an HSelectMessageHandler object.

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

Member Function Documentation

◆ ProcessMessage()

void HSelectMessageHandler::ProcessMessage ( const char *  message_type,
const char *  data,
unsigned int  data_length 

This method handles the "H_SELECT_ENTITY", "H_DESELECT_ALL" and "H_DELETE_SELECTION_LIST" messages and calls HBaseView::DeSelectAllFromMessage, HBaseView::DeleteSelectionList and HBaseView::SelectFromMessage respectively.

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.

References HBaseView::DeleteSelectionList(), HBaseView::DeSelectAllFromMessage(), MVOMessageHandler::m_pHBaseView, and HBaseView::SelectFromMessage().

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