The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
wesnothd::handle_receive_doc< Handler, ErrorHandler > Struct Template Reference
Inheritance diagram for wesnothd::handle_receive_doc< Handler, ErrorHandler >:
Inheritance graph

Public Member Functions

 handle_receive_doc (socket_ptr socket, Handler handler, ErrorHandler error_handler)
 
void operator() (const boost::system::error_code &error, std::size_t size)
 
- Public Member Functions inherited from wesnothd::handle_doc< Handler, ErrorHandler >
 handle_doc (socket_ptr socket, Handler handler, ErrorHandler error_handler, boost::uint32_t size, boost::shared_ptr< simple_wml::document > doc)
 
 handle_doc (socket_ptr socket, Handler handler, ErrorHandler error_handler)
 
void operator() (const boost::system::error_code &error, std::size_t)
 

Public Attributes

std::size_t buf_size
 
- Public Attributes inherited from wesnothd::handle_doc< Handler, ErrorHandler >
Handler handler
 
ErrorHandler error_handler
 
socket_ptr socket
 
boost::shared_ptr< DataSizedata_size
 
boost::shared_ptr
< simple_wml::document
doc
 
boost::shared_array< char > buffer
 

Detailed Description

template<typename Handler, typename ErrorHandler>
struct wesnothd::handle_receive_doc< Handler, ErrorHandler >

Definition at line 196 of file server.cpp.

Constructor & Destructor Documentation

template<typename Handler, typename ErrorHandler>
wesnothd::handle_receive_doc< Handler, ErrorHandler >::handle_receive_doc ( socket_ptr  socket,
Handler  handler,
ErrorHandler  error_handler 
)
inline

Definition at line 199 of file server.cpp.

Member Function Documentation

template<typename Handler, typename ErrorHandler>
void wesnothd::handle_receive_doc< Handler, ErrorHandler >::operator() ( const boost::system::error_code &  error,
std::size_t  size 
)
inline

Member Data Documentation

template<typename Handler, typename ErrorHandler>
std::size_t wesnothd::handle_receive_doc< Handler, ErrorHandler >::buf_size

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