The Battle for Wesnoth  1.19.2+dev
Public Member Functions | Public Attributes | List of all members
connect_connection_data Struct Reference
Inheritance diagram for connect_connection_data:

Public Member Functions

 connect_connection_data (network_asio::connection &conn, addons_client &client)
std::size_t total () override
std::size_t current () override
bool finished () override
void cancel () override
void poll () override

Public Attributes


Detailed Description

Definition at line 666 of file client.cpp.

Constructor & Destructor Documentation

◆ connect_connection_data()

connect_connection_data::connect_connection_data ( network_asio::connection conn,
addons_client client 

Definition at line 668 of file client.cpp.

Member Function Documentation

◆ cancel()

void connect_connection_data::cancel ( )

Definition at line 673 of file client.cpp.

References client_, and addons_client::disconnect().

◆ current()

std::size_t connect_connection_data::current ( )

Definition at line 671 of file client.cpp.

References network_asio::connection::bytes_read(), and conn_.

◆ finished()

bool connect_connection_data::finished ( )

Definition at line 672 of file client.cpp.

References conn_, and network_asio::connection::done().

◆ poll()

void connect_connection_data::poll ( )

Definition at line 674 of file client.cpp.

References conn_, and network_asio::connection::poll().

◆ total()

std::size_t connect_connection_data::total ( )

Definition at line 670 of file client.cpp.

References network_asio::connection::bytes_to_read(), and conn_.

Member Data Documentation

◆ client_

addons_client& connect_connection_data::client_

Definition at line 676 of file client.cpp.

Referenced by cancel().

◆ conn_

network_asio::connection& connect_connection_data::conn_

Definition at line 675 of file client.cpp.

Referenced by current(), finished(), poll(), and total().

The documentation for this struct was generated from the following file: