#include <redirect.h>
Inheritance diagram for TPProto::Redirect:

Public Member Functions | |
| Redirect () | |
| Default constructor. | |
| virtual | ~Redirect () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer, Assert(0). | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer. | |
| std::string | getUrl () |
| Gets the redirection url string sent in the Redirect frame. | |
Protected Attributes | |
| std::string | url |
| The url that we have been told to redirect to. | |
| void TPProto::Redirect::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::Redirect::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer.
| buf | The Buffer to unpack out of. |
Implements TPProto::Frame.
| std::string TPProto::Redirect::getUrl | ( | ) |
1.5.1