LogCabin
|
This class stages a message while it is being sent. More...
Public Member Functions | |
Outbound () | |
Default constructor. | |
Outbound (Outbound &&other) | |
Move constructor. | |
Outbound (MessageId messageId, Core::Buffer message) | |
Constructor. | |
Outbound & | operator= (Outbound &&other) |
Move assignment. | |
Public Attributes | |
size_t | bytesSent |
The number of bytes already sent for this message, including the header. | |
Header | header |
The message header, in big endian. | |
Core::Buffer | message |
The contents of the message (after the header). |
This class stages a message while it is being sent.
Definition at line 239 of file MessageSocket.h.
Default constructor.
Definition at line 136 of file MessageSocket.cc.
Move constructor.
Definition at line 143 of file MessageSocket.cc.
LogCabin::RPC::MessageSocket::Outbound::Outbound | ( | MessageId | messageId, |
Core::Buffer | message | ||
) |
Constructor.
Definition at line 150 of file MessageSocket.cc.
MessageSocket::Outbound & LogCabin::RPC::MessageSocket::Outbound::operator= | ( | Outbound && | other | ) |
Move assignment.
Definition at line 164 of file MessageSocket.cc.
The number of bytes already sent for this message, including the header.
Definition at line 252 of file MessageSocket.h.
The message header, in big endian.
Definition at line 256 of file MessageSocket.h.
The contents of the message (after the header).
Definition at line 260 of file MessageSocket.h.