Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Functions
eclipse::messages Namespace Reference

Classes

struct  BlockInfo
 
struct  BlockRequest
 
struct  FileDel
 
struct  FileDescription
 
struct  FileExist
 
struct  FileInfo
 
struct  FileList
 
struct  FileRequest
 
struct  FileUpdate
 
struct  FormatRequest
 
struct  IOoperation
 
struct  Message
 
struct  MetaData
 
struct  Reply
 

Functions

Messageload_message (std::string &str)
 
Messageload_message (boost::asio::streambuf &buf)
 
std::string * save_message (Message *m)
 
void send_message (boost::asio::ip::tcp::socket *socket, eclipse::messages::Message *msg)
 
template<typename T >
auto read_reply (boost::asio::ip::tcp::socket *socket)
 

Function Documentation

Message * eclipse::messages::load_message ( std::string &  str)
Message * eclipse::messages::load_message ( boost::asio::streambuf &  buf)
template<typename T >
auto eclipse::messages::read_reply ( boost::asio::ip::tcp::socket *  socket)
std::string * eclipse::messages::save_message ( Message *  m)
void eclipse::messages::send_message ( boost::asio::ip::tcp::socket *  socket,
eclipse::messages::Message msg 
)