libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::TcpSocket::TcpServerInfo Struct Reference

#include <TcpSocket.h>

Public Attributes

bool useSsl = false
 
uint32_t connectionBacklogSize = 100
 
uint32_t maxConnections = 10
 
uint32_t serverThreads = 1
 
std::unordered_map< std::string, PCertificateInfocertificates
 
std::string dhParamFile
 
std::string dhParamData
 
bool requireClientCert = false
 
std::function< void(int32_t clientId, std::string address, uint16_t port)> newConnectionCallback
 
std::function< void(int32_t clientId)> connectionClosedCallback
 
std::function< void(int32_t clientId, int32_t errorCode, const std::string &errorString)> connectionClosedCallbackEx
 
std::function< void(int32_t clientId, TcpPacket &packet)> packetReceivedCallback
 

Member Data Documentation

§ certificates

std::unordered_map<std::string, PCertificateInfo> BaseLib::TcpSocket::TcpServerInfo::certificates

§ connectionBacklogSize

uint32_t BaseLib::TcpSocket::TcpServerInfo::connectionBacklogSize = 100

§ connectionClosedCallback

std::function<void(int32_t clientId)> BaseLib::TcpSocket::TcpServerInfo::connectionClosedCallback

§ connectionClosedCallbackEx

std::function<void(int32_t clientId, int32_t errorCode, const std::string &errorString)> BaseLib::TcpSocket::TcpServerInfo::connectionClosedCallbackEx

§ dhParamData

std::string BaseLib::TcpSocket::TcpServerInfo::dhParamData

§ dhParamFile

std::string BaseLib::TcpSocket::TcpServerInfo::dhParamFile

§ maxConnections

uint32_t BaseLib::TcpSocket::TcpServerInfo::maxConnections = 10

§ newConnectionCallback

std::function<void(int32_t clientId, std::string address, uint16_t port)> BaseLib::TcpSocket::TcpServerInfo::newConnectionCallback

§ packetReceivedCallback

std::function<void(int32_t clientId, TcpPacket &packet)> BaseLib::TcpSocket::TcpServerInfo::packetReceivedCallback

§ requireClientCert

bool BaseLib::TcpSocket::TcpServerInfo::requireClientCert = false

§ serverThreads

uint32_t BaseLib::TcpSocket::TcpServerInfo::serverThreads = 1

§ useSsl

bool BaseLib::TcpSocket::TcpServerInfo::useSsl = false

The documentation for this struct was generated from the following file: