HiveMind
Public Member Functions | Private Attributes | List of all members
GreetHandler Class Reference

#include <GreetHandler.h>

Inheritance diagram for GreetHandler:
Inheritance graph
Collaboration diagram for GreetHandler:
Collaboration graph

Public Member Functions

 GreetHandler (IHiveMindHostSerializer &serializer, IHiveMindHostDeserializer &deserializer, IBSP &bsp)
 
 ~GreetHandler () override=default
 
bool greet () override
 wait for a greet and then send the greet response. Serializes directly to the stream and not the the queue. Use to initialize a connection. More...
 
- Public Member Functions inherited from IGreetHandler
virtual ~IGreetHandler ()=default
 

Private Attributes

IHiveMindHostSerializer & m_serializer
 
IHiveMindHostDeserializer & m_deserializer
 
IBSPm_bsp
 

Constructor & Destructor Documentation

◆ GreetHandler()

GreetHandler::GreetHandler ( IHiveMindHostSerializer &  serializer,
IHiveMindHostDeserializer &  deserializer,
IBSP bsp 
)

◆ ~GreetHandler()

GreetHandler::~GreetHandler ( )
overridedefault

Member Function Documentation

◆ greet()

bool GreetHandler::greet ( )
overridevirtual

wait for a greet and then send the greet response. Serializes directly to the stream and not the the queue. Use to initialize a connection.

Returns
true if serialization/deserialization successed, false otherwise

Implements IGreetHandler.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_bsp

IBSP& GreetHandler::m_bsp
private

◆ m_deserializer

IHiveMindHostDeserializer& GreetHandler::m_deserializer
private

◆ m_serializer

IHiveMindHostSerializer& GreetHandler::m_serializer
private

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