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

Public Member Functions

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

Public Attributes

network_asio::connectionconn_
 
addons_clientclient_
 

Detailed Description

Definition at line 654 of file client.cpp.

Constructor & Destructor Documentation

◆ read_addon_connection_data()

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

Definition at line 656 of file client.cpp.

Member Function Documentation

◆ cancel()

virtual void read_addon_connection_data::cancel ( )
inlineoverridevirtual

Definition at line 661 of file client.cpp.

References client_, and addons_client::connect().

◆ current()

virtual std::size_t read_addon_connection_data::current ( )
inlineoverridevirtual

Definition at line 659 of file client.cpp.

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

◆ finished()

virtual bool read_addon_connection_data::finished ( )
inlineoverridevirtual

Definition at line 660 of file client.cpp.

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

◆ poll()

virtual void read_addon_connection_data::poll ( )
inlineoverridevirtual

Definition at line 662 of file client.cpp.

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

◆ total()

std::size_t read_addon_connection_data::total ( )
inlineoverride

Definition at line 658 of file client.cpp.

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

Member Data Documentation

◆ client_

addons_client& read_addon_connection_data::client_

Definition at line 664 of file client.cpp.

Referenced by cancel().

◆ conn_

network_asio::connection& read_addon_connection_data::conn_

Definition at line 663 of file client.cpp.

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


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