HDLC-Daemon
HdlcdServerHandler Class Reference

#include <HdlcdServerHandler.h>

Inheritance diagram for HdlcdServerHandler:
Collaboration diagram for HdlcdServerHandler:

Public Member Functions

 HdlcdServerHandler (boost::asio::io_service &a_IOService, std::weak_ptr< HdlcdServerHandlerCollection > a_HdlcdServerHandlerCollection, boost::asio::ip::tcp::socket &a_TcpSocket)
 
E_BUFFER_TYPE GetBufferType () const
 
void DeliverBufferToClient (E_BUFFER_TYPE a_eBufferType, const std::vector< unsigned char > &a_Payload, bool a_bReliable, bool a_bInvalid, bool a_bWasSent)
 
void UpdateSerialPortState (bool a_bAlive, size_t a_LockHolders)
 
void QueryForPayload (bool a_bQueryReliable, bool a_bQueryUnreliable)
 
void Start (std::shared_ptr< SerialPortHandlerCollection > a_SerialPortHandlerCollection)
 
void Stop ()
 

Detailed Description

Definition at line 43 of file HdlcdServerHandler.h.

Constructor & Destructor Documentation

HdlcdServerHandler::HdlcdServerHandler ( boost::asio::io_service &  a_IOService,
std::weak_ptr< HdlcdServerHandlerCollection a_HdlcdServerHandlerCollection,
boost::asio::ip::tcp::socket &  a_TcpSocket 
)

Definition at line 33 of file HdlcdServerHandler.cpp.

Here is the call graph for this function:

Member Function Documentation

void HdlcdServerHandler::DeliverBufferToClient ( E_BUFFER_TYPE  a_eBufferType,
const std::vector< unsigned char > &  a_Payload,
bool  a_bReliable,
bool  a_bInvalid,
bool  a_bWasSent 
)

Definition at line 50 of file HdlcdServerHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

E_BUFFER_TYPE HdlcdServerHandler::GetBufferType ( ) const
inline

Definition at line 47 of file HdlcdServerHandler.h.

Here is the call graph for this function:

void HdlcdServerHandler::QueryForPayload ( bool  a_bQueryReliable,
bool  a_bQueryUnreliable 
)

Definition at line 77 of file HdlcdServerHandler.cpp.

Here is the caller graph for this function:

void HdlcdServerHandler::Start ( std::shared_ptr< SerialPortHandlerCollection a_SerialPortHandlerCollection)

Definition at line 101 of file HdlcdServerHandler.cpp.

Here is the caller graph for this function:

void HdlcdServerHandler::Stop ( )

Definition at line 117 of file HdlcdServerHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HdlcdServerHandler::UpdateSerialPortState ( bool  a_bAlive,
size_t  a_LockHolders 
)

Definition at line 66 of file HdlcdServerHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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