#include <failframe.h>
Inheritance diagram for TPProto::FailFrame:

Public Member Functions | |
| FailFrame () | |
| Default constructor. | |
| virtual | ~FailFrame () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Assets(0). | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack FailFrame from Buffer. | |
| int | getErrorCode () |
| Gets the error code. | |
| std::string | getErrorString () |
| Gets the error string. | |
| std::map< int32_t, uint32_t > | getReferences () |
| void TPProto::FailFrame::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Assets(0).
This method asserts 0 because it should never be sent to the server.
| buf | The Buffer (ignored). |
Implements TPProto::Frame.
| bool TPProto::FailFrame::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpacks the FrameErrorCode and error string from the buffer.
| buf | The Buffer to unpack from. |
Implements TPProto::Frame.
| int TPProto::FailFrame::getErrorCode | ( | ) |
Gets the error code.
| std::string TPProto::FailFrame::getErrorString | ( | ) |
Gets the error string.
1.5.1