#include <Client.h>
Definition at line 44 of file Client.h.
◆ Client()
Divide::Client::Client |
( |
ASIO * |
asioPointer, |
|
|
boost::asio::io_context & |
service, |
|
|
bool |
debugOutput |
|
) |
| |
◆ check_deadline()
void Divide::Client::check_deadline |
( |
| ) |
|
|
private |
◆ getSocket()
◆ handle_connect()
void Divide::Client::handle_connect |
( |
const boost::system::error_code & |
ec, |
|
|
boost::asio::ip::tcp::resolver::iterator |
endpoint_iter |
|
) |
| |
|
private |
◆ handle_read_body()
void Divide::Client::handle_read_body |
( |
const boost::system::error_code & |
ec, |
|
|
size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ handle_read_file()
void Divide::Client::handle_read_file |
( |
const boost::system::error_code & |
ec, |
|
|
size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ handle_read_file_content()
void Divide::Client::handle_read_file_content |
( |
const boost::system::error_code & |
err, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ handle_read_packet()
void Divide::Client::handle_read_packet |
( |
const boost::system::error_code & |
ec, |
|
|
size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ handle_write()
void Divide::Client::handle_write |
( |
const boost::system::error_code & |
ec | ) |
|
|
private |
◆ receiveFile()
void Divide::Client::receiveFile |
( |
| ) |
|
|
private |
◆ receivePacket()
void Divide::Client::receivePacket |
( |
WorldPacket & |
p | ) |
const |
◆ sendPacket()
bool Divide::Client::sendPacket |
( |
const WorldPacket & |
p | ) |
|
◆ start()
void Divide::Client::start |
( |
boost::asio::ip::tcp::resolver::iterator |
endpoint_iter | ) |
|
◆ start_connect()
void Divide::Client::start_connect |
( |
boost::asio::ip::tcp::resolver::iterator |
endpoint_iter | ) |
|
|
private |
◆ start_read()
void Divide::Client::start_read |
( |
| ) |
|
|
private |
◆ start_write()
void Divide::Client::start_write |
( |
| ) |
|
|
private |
◆ stop()
void Divide::Client::stop |
( |
| ) |
|
◆ toggleDebugOutput()
void Divide::Client::toggleDebugOutput |
( |
const bool |
debugOutput | ) |
|
|
inlinenoexcept |
◆ _asioPointer
ASIO* Divide::Client::_asioPointer |
|
private |
◆ _buf
std::array<char, 1024> Divide::Client::_buf {} |
|
private |
◆ _deadline
◆ _debugOutput
bool Divide::Client::_debugOutput |
|
private |
◆ _fileSize
size_t Divide::Client::_fileSize = 0 |
|
private |
◆ _header
size_t Divide::Client::_header = 0 |
|
private |
◆ _heartbeatTimer
◆ _inputBuffer
boost::asio::streambuf Divide::Client::_inputBuffer |
|
private |
◆ _outputFile
std::ofstream Divide::Client::_outputFile |
|
private |
◆ _packetQueue
◆ _requestBuf
boost::asio::streambuf Divide::Client::_requestBuf |
|
private |
◆ _socket
◆ _stopped
bool Divide::Client::_stopped = false |
|
private |
The documentation for this class was generated from the following files:
- G:/Divide-Framework/Source/Networking/Headers/Client.h
- G:/Divide-Framework/Source/Networking/Client.cpp