Satellite-Gateway
|
#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) |
Definition at line 35 of file GatewayClient.h.
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 | ||
) |
GatewayClient::~GatewayClient | ( | ) |
void GatewayClient::Close | ( | ) |
Definition at line 65 of file GatewayClient.cpp.
void GatewayClient::SendPacket | ( | uint16_t | a_SerialPortNbr, |
const std::vector< unsigned char > & | a_Payload | ||
) |
void GatewayClient::SetOnClosedCallback | ( | std::function< void()> | a_OnClosedCallback | ) |
void GatewayClient::Shutdown | ( | ) |
Definition at line 59 of file GatewayClient.cpp.