#include <commandresult.h>
Inheritance diagram for TPProto::CommandResult:

Public Member Functions | |
| CommandResult () | |
| Default constructor. | |
| virtual | ~CommandResult () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer, Assert(0). | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer. | |
| uint32_t | getStatus () |
| Gets the return status of the command. | |
| std::string | getMessage () |
| Gets the command output message string. | |
| void TPProto::CommandResult::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Pack into a Buffer, Assert(0).
This Frame does not get sent to the server, so this method asserts zero.
| buf | Buffer to pack into, ignored. |
Implements TPProto::Frame.
| bool TPProto::CommandResult::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer.
| buf | The Buffer to unpack from. |
Implements TPProto::Frame.
| uint32_t TPProto::CommandResult::getStatus | ( | ) |
Gets the return status of the command.
| std::string TPProto::CommandResult::getMessage | ( | ) |
Gets the command output message string.
1.5.1