Public Types | Public Member Functions | Public Attributes | List of all members
util::rpc::Frame Class Reference

Public Types

enum  { kMinByteSize = 4 + 1 + 7 + 2, kMaxByteSize = 4 + 1 + 7 + 4 * 2 }
 
typedef ::boost::asio::ip::tcp::socket socket_t
 

Public Member Functions

 Frame (RpcId r, uint32_t cs, uint32_t ms)
 
bool operator== (const Frame &other) const
 
uint32 total_size () const
 
unsigned Write (uint8 *dest) const
 
template<typename SyncReadStream >
::boost::system::error_code Read (SyncReadStream *input)
 

Public Attributes

RpcId rpc_id
 
uint32_t header_size
 
uint32_t letter_size
 

Detailed Description

Definition at line 34 of file frame_format.h.


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