Satellite-Gateway
GatewayClient Class Reference

#include <GatewayClient.h>

Public Member Functions

 GatewayClient (boost::asio::io_service &a_IOService, boost::asio::ip::tcp::resolver::iterator a_EndpointIterator, std::shared_ptr< ConfigServerHandlerCollection > a_ConfigServerHandlerCollection, std::shared_ptr< HdlcdClientHandlerCollection > a_HdlcdClientHandlerCollection, GatewayClientConnectGuard &a_GatewayClientConnectGuard, uint16_t a_ReferenceNbr)
 
 ~GatewayClient ()
 
void Shutdown ()
 
void Close ()
 
void SendPacket (uint16_t a_SerialPortNbr, const std::vector< unsigned char > &a_Payload)
 
void SetOnClosedCallback (std::function< void()> a_OnClosedCallback)
 

Detailed Description

Definition at line 35 of file GatewayClient.h.

Constructor & Destructor Documentation

GatewayClient::GatewayClient ( boost::asio::io_service &  a_IOService,
boost::asio::ip::tcp::resolver::iterator  a_EndpointIterator,
std::shared_ptr< ConfigServerHandlerCollection a_ConfigServerHandlerCollection,
std::shared_ptr< HdlcdClientHandlerCollection a_HdlcdClientHandlerCollection,
GatewayClientConnectGuard a_GatewayClientConnectGuard,
uint16_t  a_ReferenceNbr 
)

Definition at line 30 of file GatewayClient.cpp.

Here is the call graph for this function:

GatewayClient::~GatewayClient ( )

Definition at line 55 of file GatewayClient.cpp.

Here is the call graph for this function:

Member Function Documentation

void GatewayClient::Close ( )

Definition at line 65 of file GatewayClient.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void GatewayClient::SendPacket ( uint16_t  a_SerialPortNbr,
const std::vector< unsigned char > &  a_Payload 
)

Definition at line 86 of file GatewayClient.cpp.

Here is the call graph for this function:

void GatewayClient::SetOnClosedCallback ( std::function< void()>  a_OnClosedCallback)

Definition at line 93 of file GatewayClient.cpp.

Here is the call graph for this function:

void GatewayClient::Shutdown ( )

Definition at line 59 of file GatewayClient.cpp.


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