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

Classes

union  DataSize
 

Public Member Functions

 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

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_doc< Handler, ErrorHandler >

Definition at line 131 of file server.cpp.

Constructor & Destructor Documentation

template<typename Handler , typename ErrorHandler >
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 
)
inline

Definition at line 144 of file server.cpp.

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

Definition at line 149 of file server.cpp.

Member Function Documentation

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

Member Data Documentation

template<typename Handler , typename ErrorHandler >
boost::shared_array<char> wesnothd::handle_doc< Handler, ErrorHandler >::buffer
template<typename Handler , typename ErrorHandler >
boost::shared_ptr<DataSize> wesnothd::handle_doc< Handler, ErrorHandler >::data_size
template<typename Handler , typename ErrorHandler >
boost::shared_ptr<simple_wml::document> wesnothd::handle_doc< Handler, ErrorHandler >::doc
template<typename Handler , typename ErrorHandler >
ErrorHandler wesnothd::handle_doc< Handler, ErrorHandler >::error_handler
template<typename Handler , typename ErrorHandler >
Handler wesnothd::handle_doc< Handler, ErrorHandler >::handler
template<typename Handler , typename ErrorHandler >
socket_ptr wesnothd::handle_doc< Handler, ErrorHandler >::socket

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