CBOE Emulator
1.0
|
A request that indicates a client is attempting to create a new session. More...
#include <messages.hpp>
Public Member Functions | |
LoginRequest (SequenceNumber sequence, Username username_, Password password_) | |
Initialize a new login request. More... | |
std::string | username_string () const |
Return a string representation of the user-name for the account. | |
std::string | password_string () const |
Return a string representation of the password for the account. | |
std::string | to_string () const |
Convert the object to an STL string. More... | |
Public Attributes | |
const Header | header |
the header for the message | |
const Username | username |
the user name of the connecting client | |
const Password | password |
the password for the connecting client | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const LoginRequest &message) |
Write the data from the message to a stream. More... | |
A request that indicates a client is attempting to create a new session.
|
inline |
Initialize a new login request.
sequence | the sequence of the message in event time |
username_ | the username for the connecting client |
password_ | the password for the connecting client |
|
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 |