Text Message. More...
Public Member Functions | |
MessageType::Enum | type () const |
Message type. More... | |
void | validate () const |
Validates message data by checking length limits for strings. More... | |
std::string | toString () const |
Returns string representation. More... | |
TextMessage () | |
Default constructor. More... | |
Public Attributes | |
UInt32 | sendingTime |
Wall clock time in milliseconds. More... | |
UInt32 | textMessageId |
Zero if an originating message. More... | |
UInt32 | originalTextMessageId |
Zero if an originating message. More... | |
UInt16 | year |
Year. More... | |
UInt8 | month |
Month. More... | |
UInt8 | day |
Day. More... | |
bool | replyRequested |
Reply requested. More... | |
std::string | subject |
Subject. More... | |
std::string | message |
Message. More... | |
Friends | |
class | Serializer |
Text Message.
TextMessage | ( | ) |
Default constructor.
|
virtual |
Returns string representation.
Implements Message.
|
inlinevirtual |
Message type.
Implements Message.
|
virtual |
Validates message data by checking length limits for strings.
Throws std::invalid_artument exception if message content is invalid.
Implements Message.
UInt8 day |
Day.
std::string message |
Message.
255 bytes max.
UInt8 month |
Month.
UInt32 originalTextMessageId |
Zero if an originating message.
bool replyRequested |
Reply requested.
UInt32 sendingTime |
Wall clock time in milliseconds.
std::string subject |
Subject.
255 bytes max.
UInt32 textMessageId |
Zero if an originating message.
System will assign a value.
UInt16 year |
Year.