LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
LogCabin::RPC::MessageSocket::Inbound Struct Reference

This class stages a message while it is being received. More...

List of all members.

Public Member Functions

 Inbound ()
 Constructor.

Public Attributes

size_t bytesRead
 The number of bytes read for the message, including the header.
Header header
 If bytesRead >= sizeof(header), the header has been fully received and its fields are in host order.
Core::Buffer message
 The contents of the message (after the header) are staged here.

Detailed Description

This class stages a message while it is being received.

Definition at line 217 of file MessageSocket.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 127 of file MessageSocket.cc.


Member Data Documentation

The number of bytes read for the message, including the header.

Definition at line 223 of file MessageSocket.h.

If bytesRead >= sizeof(header), the header has been fully received and its fields are in host order.

Otherwise, the header is still being received here.

Definition at line 229 of file MessageSocket.h.

The contents of the message (after the header) are staged here.

Definition at line 233 of file MessageSocket.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines