#include <LoginResponse.h>
Public Types | |
enum | { messageType = 'A' } |
Public Member Functions | |
LoginResponse () | |
LoginResponse (const char *data, std::size_t dataSize) | |
void | deserialize (const char *data, std::size_t dataSize) |
void | reset () |
std::string | toString () const |
Public Attributes | |
int | requestSeqId |
LoginResult::Enum | code |
std::string | text |
std::string | marketTypesPermissioned |
std::string | extraMarketTypesPermissioned |
Definition at line 36 of file LoginResponse.h.
anonymous enum |
LoginResponse | ( | ) |
Default constructor.
LoginResponse | ( | const char * | data, |
std::size_t | dataSize | ||
) |
Initialize from raw message data.
void deserialize | ( | const char * | data, |
std::size_t | dataSize | ||
) |
Deserialize from raw data.
void reset | ( | ) |
Reset all fields to default values.
std::string toString | ( | ) | const |
Returns string representation.
LoginResult::Enum code |
Error code.
Definition at line 48 of file LoginResponse.h.
std::string extraMarketTypesPermissioned |
Extra field for permissioned market type ids when MarketTypesPermissioned
field is not big enough. This should be appended to MarketTypesPermissioned
if it is not empty.
Definition at line 59 of file LoginResponse.h.
std::string marketTypesPermissioned |
Market type IDs allowed to access for the user.
Definition at line 54 of file LoginResponse.h.
int requestSeqId |
The sequence ID in client's request.
Definition at line 45 of file LoginResponse.h.
std::string text |
Success or failure messages.
Definition at line 51 of file LoginResponse.h.