AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::Reply Struct Reference

#include <airinv/server/Reply.hpp>

List of all members.

Public Member Functions

std::vector
< boost::asio::const_buffer > 
to_buffers ()

Public Attributes

FlightRequestStatus::EN_FlightRequestStatus _status
std::string content

Detailed Description

A reply to be sent to a client.

Definition at line 18 of file Reply.hpp.


Member Function Documentation

std::vector< boost::asio::const_buffer > AIRINV::Reply::to_buffers ( )

Convert the reply into a vector of buffers. The buffers do not own the underlying memory blocks, therefore the reply object must remain valid and not be changed until the write operation has completed.

Definition at line 15 of file Reply.cpp.

References content.


Member Data Documentation

Status.

Definition at line 20 of file Reply.hpp.

Referenced by AIRINV::RequestHandler::handleRequest().

std::string AIRINV::Reply::content

The content to be sent in the reply.

Definition at line 23 of file Reply.hpp.

Referenced by AIRINV::RequestHandler::handleRequest(), and to_buffers().


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