Satellite-Gateway
ConfigServer Class Reference

#include <ConfigServer.h>

Public Member Functions

 ConfigServer (boost::asio::io_service &a_IOService, boost::asio::ip::tcp::tcp::socket &a_TcpSocket)
 
void SetOnClosedCallback (std::function< void()> a_OnClosedCallback)
 
void Start (std::shared_ptr< GatewayClientHandlerCollection > a_GatewayClientHandlerCollection, std::shared_ptr< HdlcdClientHandlerCollection > a_HdlcdClientHandlerCollection)
 
void Close ()
 
void GatewayClientCreated (uint16_t a_ReferenceNbr)
 
void GatewayClientDestroyed (uint16_t a_ReferenceNbr)
 
void GatewayClientConnected (uint16_t a_ReferenceNbr)
 
void GatewayClientDisconnected (uint16_t a_ReferenceNbr)
 
void GatewayClientError (uint16_t a_ReferenceNbr, E_GATEWAY_CLIENT_ERROR a_ErrorCode)
 
void HdlcdClientCreated (uint16_t a_SerialPortNbr)
 
void HdlcdClientDestroyed (uint16_t a_SerialPortNbr)
 
void HdlcdClientConnected (uint16_t a_SerialPortNbr)
 
void HdlcdClientDisconnected (uint16_t a_SerialPortNbr)
 
void HdlcdClientNewStatus (uint16_t a_SerialPortNbr, bool a_bIsResumed, bool a_bIsAlive)
 
void HdlcdClientError (uint16_t a_SerialPortNbr, E_HDLCD_CLIENT_ERROR a_ErrorCode)
 

Detailed Description

Definition at line 36 of file ConfigServer.h.

Constructor & Destructor Documentation

ConfigServer::ConfigServer ( boost::asio::io_service &  a_IOService,
boost::asio::ip::tcp::tcp::socket &  a_TcpSocket 
)

Definition at line 48 of file ConfigServer.cpp.

Here is the call graph for this function:

Member Function Documentation

void ConfigServer::Close ( )

Definition at line 72 of file ConfigServer.cpp.

Here is the caller graph for this function:

void ConfigServer::GatewayClientConnected ( uint16_t  a_ReferenceNbr)

Definition at line 94 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::GatewayClientCreated ( uint16_t  a_ReferenceNbr)

Definition at line 84 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::GatewayClientDestroyed ( uint16_t  a_ReferenceNbr)

Definition at line 89 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::GatewayClientDisconnected ( uint16_t  a_ReferenceNbr)

Definition at line 99 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::GatewayClientError ( uint16_t  a_ReferenceNbr,
E_GATEWAY_CLIENT_ERROR  a_ErrorCode 
)

Definition at line 104 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientConnected ( uint16_t  a_SerialPortNbr)

Definition at line 119 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientCreated ( uint16_t  a_SerialPortNbr)

Definition at line 109 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientDestroyed ( uint16_t  a_SerialPortNbr)

Definition at line 114 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientDisconnected ( uint16_t  a_SerialPortNbr)

Definition at line 124 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientError ( uint16_t  a_SerialPortNbr,
E_HDLCD_CLIENT_ERROR  a_ErrorCode 
)

Definition at line 134 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::HdlcdClientNewStatus ( uint16_t  a_SerialPortNbr,
bool  a_bIsResumed,
bool  a_bIsAlive 
)

Definition at line 129 of file ConfigServer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ConfigServer::SetOnClosedCallback ( std::function< void()>  a_OnClosedCallback)
inline

Definition at line 40 of file ConfigServer.h.

Here is the call graph for this function:

void ConfigServer::Start ( std::shared_ptr< GatewayClientHandlerCollection a_GatewayClientHandlerCollection,
std::shared_ptr< HdlcdClientHandlerCollection a_HdlcdClientHandlerCollection 
)

Definition at line 63 of file ConfigServer.cpp.

Here is the caller graph for this function:


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