The Battle for Wesnoth  1.17.17+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

network_asio::connectionconn_
 
addons_clientclient_
 

Detailed Description

Definition at line 669 of file client.cpp.

Constructor & Destructor Documentation

◆ connect_connection_data()

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

Definition at line 671 of file client.cpp.

Member Function Documentation

◆ cancel()

void connect_connection_data::cancel ( )
inlineoverride

Definition at line 676 of file client.cpp.

References client_, and addons_client::disconnect().

◆ current()

std::size_t connect_connection_data::current ( )
inlineoverride

Definition at line 674 of file client.cpp.

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

◆ finished()

bool connect_connection_data::finished ( )
inlineoverride

Definition at line 675 of file client.cpp.

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

◆ poll()

void connect_connection_data::poll ( )
inlineoverride

Definition at line 677 of file client.cpp.

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

◆ total()

std::size_t connect_connection_data::total ( )
inlineoverride

Definition at line 673 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 679 of file client.cpp.

Referenced by cancel().

◆ conn_

network_asio::connection& connect_connection_data::conn_

Definition at line 678 of file client.cpp.

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


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