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

network_asio::connectionconn_
 
addons_clientclient_
 

Detailed Description

Definition at line 678 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 
)
inline

Definition at line 680 of file client.cpp.

Member Function Documentation

◆ cancel()

virtual void write_addon_connection_data::cancel ( )
inlineoverridevirtual

Definition at line 685 of file client.cpp.

References client_, and addons_client::connect().

◆ current()

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

Definition at line 683 of file client.cpp.

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

◆ finished()

virtual bool write_addon_connection_data::finished ( )
inlineoverridevirtual

Definition at line 684 of file client.cpp.

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

◆ poll()

virtual void write_addon_connection_data::poll ( )
inlineoverridevirtual

Definition at line 686 of file client.cpp.

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

◆ total()

std::size_t write_addon_connection_data::total ( )
inlineoverride

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

Referenced by cancel().

◆ conn_

network_asio::connection& write_addon_connection_data::conn_

Definition at line 687 of file client.cpp.

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


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