#include <ping.h>
Inheritance diagram for TPProto::Ping:

Public Member Functions | |
| Ping () | |
| Default constructor. | |
| virtual | ~Ping () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer, fails always. Since ping frames are only sent to the server, unpacking one doesn't make sence, and therefore always returns false. | |
| void TPProto::Ping::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Pack into a Buffer.
Packs this Ping frame into the buffer.
| buf | Buffer to pack into. |
Implements TPProto::Frame.
| bool TPProto::Ping::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer, fails always. Since ping frames are only sent to the server, unpacking one doesn't make sence, and therefore always returns false.
| buf | The Buffer to unpack out of, ignored. |
Implements TPProto::Frame.
1.5.1