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


Detailed Description

Definition at line 657 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 

Definition at line 659 of file client.cpp.

Member Function Documentation

◆ cancel()

virtual void read_addon_connection_data::cancel ( )

Definition at line 664 of file client.cpp.

References client_, and addons_client::connect().

◆ current()

virtual std::size_t read_addon_connection_data::current ( )

Definition at line 662 of file client.cpp.

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

◆ finished()

virtual bool read_addon_connection_data::finished ( )

Definition at line 663 of file client.cpp.

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

◆ poll()

virtual void read_addon_connection_data::poll ( )

Definition at line 665 of file client.cpp.

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

◆ total()

std::size_t read_addon_connection_data::total ( )

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

Referenced by cancel().

◆ conn_

network_asio::connection& read_addon_connection_data::conn_

Definition at line 666 of file client.cpp.

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

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