A ping message.
More...
#include <PingMessage.h>
|
| PingMessage (uint64_t nonce) |
|
| PingMessage (uint8_t const *&in, size_t &size) |
|
|
virtual void | serialize (std::vector< uint8_t > &out) const override |
|
virtual json | toJson () const override |
|
| Message (char const *type) |
|
std::string | type () const |
| Returns the type.
|
|
A ping message.
Sent to confirm that the connection to a node is still valid.
- See also
- PongMessage
PingMessage::PingMessage |
( |
uint64_t |
nonce | ) |
|
PingMessage::PingMessage |
( |
uint8_t const *& |
in, |
|
|
size_t & |
size |
|
) |
| |
- Parameters
-
[in,out] | in | pointer to the next byte to deserialize |
[in,out] | size | number of bytes remaining in the serialized stream |
The documentation for this class was generated from the following files: