Heartbeat. 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... | |
Heartbeat () | |
Default constructor. More... | |
Public Attributes | |
UInt32 | requestId |
Used to identify heart beat ack, set to 0 if initiator. More... | |
UInt32 | millisTimeStamp |
Wall Clock in milliseconds since midnight. More... | |
Friends | |
class | Serializer |
Heartbeat.
Heartbeat | ( | ) |
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.
UInt32 millisTimeStamp |
Wall Clock in milliseconds since midnight.
UInt32 requestId |
Used to identify heart beat ack, set to 0 if initiator.