net Namespace Reference

Space-ng SDK: sol3::net Namespace Reference
Space-ng SDK
sol3::net Namespace Reference

Classes

class  BufferPool
 
class  IConnectionHandler
 
struct  DataFrame
 
class  IFramer
 
class  SignalWaiter
 
struct  SyncFramerConfig
 
class  ITcpClient
 
struct  TcpConnectionConfig
 
class  TcpConnection
 
class  ITcpServer
 
struct  TcpSocketConfig
 
class  TcpTelemetry
 
class  WriteQueue
 

Typedefs

using TcpConnectionId = uint64_t
 A unique identifier for a TCP connection. More...
 

Functions

std::unique_ptr< IFramermakeNullFramer (size_t read_length)
 
std::unique_ptr< IFramermakeSyncFramer (SyncFramerConfig const &config)
 
std::string stringFromEndpoint (boost::asio::ip::tcp::endpoint const &endpoint)
 
void applySocketOpts (boost::asio::ip::tcp::socket &s, msg::TcpSocketConfigT const &config)
 
int32_t getKernelSendQueueSize (boost::asio::ip::tcp::socket &s)
 

Typedef Documentation

◆ TcpConnectionId

using sol3::net::TcpConnectionId = typedef uint64_t

A unique identifier for a TCP connection.

Function Documentation

◆ applySocketOpts()

void sol3::net::applySocketOpts ( boost::asio::ip::tcp::socket &  s,
msg::TcpSocketConfigT const &  config 
)

◆ getKernelSendQueueSize()

int32_t sol3::net::getKernelSendQueueSize ( boost::asio::ip::tcp::socket &  s)

◆ makeNullFramer()

std::unique_ptr<IFramer> sol3::net::makeNullFramer ( size_t  read_length)

◆ makeSyncFramer()

std::unique_ptr<IFramer> sol3::net::makeSyncFramer ( SyncFramerConfig const &  config)

◆ stringFromEndpoint()

std::string sol3::net::stringFromEndpoint ( boost::asio::ip::tcp::endpoint const &  endpoint)