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

Public Member Functions

 write_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 681 of file client.cpp.

Constructor & Destructor Documentation

◆ write_addon_connection_data()

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

Definition at line 683 of file client.cpp.

Member Function Documentation

◆ cancel()

virtual void write_addon_connection_data::cancel ( )

Definition at line 688 of file client.cpp.

References client_, and addons_client::connect().

◆ current()

virtual std::size_t write_addon_connection_data::current ( )

Definition at line 686 of file client.cpp.

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

◆ finished()

virtual bool write_addon_connection_data::finished ( )

Definition at line 687 of file client.cpp.

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

◆ poll()

virtual void write_addon_connection_data::poll ( )

Definition at line 689 of file client.cpp.

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

◆ total()

std::size_t write_addon_connection_data::total ( )

Definition at line 685 of file client.cpp.

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

Member Data Documentation

◆ client_

addons_client& write_addon_connection_data::client_

Definition at line 691 of file client.cpp.

Referenced by cancel().

◆ conn_

network_asio::connection& write_addon_connection_data::conn_

Definition at line 690 of file client.cpp.

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

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