unilink  0.4.3
A simple C++ library for unified async communication
unilink::transport Namespace Reference

Namespaces

 

Classes

class  BoostSerialPort
 
class  Serial
 Serial Transport implementation. More...
 
class  TcpClient
 
class  BoostTcpAcceptor
 Boost.Asio implementation of ITcpAcceptor interface. This is the real implementation used in production. More...
 
class  BoostTcpSocket
 Boost.Asio implementation of ITcpSocket interface. This is the real implementation used in production. More...
 
class  TcpServer
 Thread-safe TCP Server implementation. More...
 
class  TcpServerSession
 
class  UdpChannel
 UDP Transport implementation. More...
 

Typedefs

using BufferVariant = std::variant< memory::PooledBuffer, std::vector< uint8_t >, std::shared_ptr< const std::vector< uint8_t > >>
 
using tcp = net::ip::tcp
 
using udp = net::ip::udp
 

Typedef Documentation

◆ BufferVariant

using unilink::transport::BufferVariant = typedef std::variant<memory::PooledBuffer, std::vector<uint8_t>, std::shared_ptr<const std::vector<uint8_t> >>

Definition at line 47 of file serial.cc.

◆ tcp

typedef net::ip::tcp unilink::transport::tcp

Definition at line 57 of file tcp_client.cc.

◆ udp

using unilink::transport::udp = typedef net::ip::udp

Definition at line 43 of file udp.cc.