CBOE Emulator
1.0
|
A response that tells the status of a session destruction to the client. More...
#include <messages.hpp>
Public Member Functions | |
LogoutResponse (SequenceNumber sequence, LogoutReason reason_) | |
Initialize a new logout response message. More... | |
std::string | to_string () const |
Convert the object to an STL string. More... | |
Public Attributes | |
const Header | header |
the header for the message | |
const LogoutReason | reason |
the reason the reason the logout | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const LogoutResponse &message) |
Write the data from the message to a stream. More... | |
A response that tells the status of a session destruction to the client.
|
inline |
Initialize a new logout response message.
sequence | the sequence number for the message |
reason_ | the reason the logout |
|
inline |
Convert the object to an STL string.
|
friend |
Write the data from the message to a stream.
stream | the stream to write the data to |
message | the message to write to the stream |