The Battle for Wesnoth  1.13.11+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
connect_connection_data Struct Reference
Inheritance diagram for connect_connection_data:
Inheritance graph

Public Member Functions

 connect_connection_data (network_asio::connection &conn, addons_client &client)
 
size_t total () override
 
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 541 of file client.cpp.

Constructor & Destructor Documentation

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

Definition at line 543 of file client.cpp.

Member Function Documentation

void connect_connection_data::cancel ( )
inlineoverride

Definition at line 548 of file client.cpp.

References client_, and addons_client::disconnect().

size_t connect_connection_data::current ( )
inlineoverride

Definition at line 546 of file client.cpp.

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

bool connect_connection_data::finished ( )
inlineoverride

Definition at line 547 of file client.cpp.

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

void connect_connection_data::poll ( )
inlineoverride

Definition at line 549 of file client.cpp.

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

size_t connect_connection_data::total ( )
inlineoverride

Definition at line 545 of file client.cpp.

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

Member Data Documentation

addons_client& connect_connection_data::client_

Definition at line 551 of file client.cpp.

Referenced by cancel().

network_asio::connection& connect_connection_data::conn_

Definition at line 550 of file client.cpp.

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


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