CppServer  1.0.4.0
C++ Server Library
Classes | Enumerations | Functions
CppServer::Asio Namespace Reference

Asio definitions. More...

Classes

class  HandlerStorage
 Asio handler storage. More...
 
class  HandlerAllocator
 Asio handler allocator. More...
 
class  AllocateHandler
 Asio allocate handler wrapper. More...
 
class  Service
 Asio service. More...
 
class  SSLClient
 SSL client. More...
 
class  SSLContext
 SSL context. More...
 
class  SSLServer
 SSL server. More...
 
class  SSLSession
 SSL session. More...
 
class  TCPClient
 TCP client. More...
 
class  TCPResolver
 TCP resolver. More...
 
class  TCPServer
 TCP server. More...
 
class  TCPSession
 TCP session. More...
 
class  Timer
 Timer. More...
 
class  UDPClient
 UDP client. More...
 
class  UDPResolver
 UDP resolver. More...
 
class  UDPServer
 UDP server. More...
 

Enumerations

enum class  InternetProtocol { IPv4 , IPv6 }
 Internet protocol. More...
 

Functions

template<class TOutputStream >
TOutputStream & operator<< (TOutputStream &stream, InternetProtocol protocol)
 Stream output: Internet protocol. More...
 
template<typename THandler >
AllocateHandler< THandler > make_alloc_handler (HandlerStorage &storage, THandler handler)
 Helper function to wrap a handler object to add custom allocation. More...
 

Detailed Description

Asio definitions.

Enumeration Type Documentation

◆ InternetProtocol

Internet protocol.

Enumerator
IPv4 

Internet Protocol version 4.

IPv6 

Internet Protocol version 6.

Definition at line 65 of file asio.h.

Function Documentation

◆ make_alloc_handler()

template<typename THandler >
AllocateHandler< THandler > CppServer::Asio::make_alloc_handler ( HandlerStorage storage,
THandler  handler 
)
inline

Helper function to wrap a handler object to add custom allocation.

Parameters
storage- Memory storage
handler- Handler to allocate

Definition at line 39 of file memory.inl.

◆ operator<<()

template<class TOutputStream >
TOutputStream & CppServer::Asio::operator<< ( TOutputStream &  stream,
InternetProtocol  protocol 
)
inline

Stream output: Internet protocol.

Parameters
stream- Output stream
protocol- Internet protocol
Returns
Output stream

Definition at line 13 of file asio.inl.