![]() |
olcPixelGameEngine v2.29
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
|
#include <olcPGEX_Network.h>
Public Member Functions | |
| client_interface () | |
| virtual | ~client_interface () |
| bool | Connect (const std::string &host, const uint16_t port) |
| void | Disconnect () |
| bool | IsConnected () |
| void | Send (const message< T > &msg) |
| tsqueue< owned_message< T > > & | Incoming () |
Protected Attributes | |
| asio::io_context | m_context |
| std::thread | thrContext |
| std::unique_ptr< connection< T > > | m_connection |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |