#include <featuresframe.h>
Inheritance diagram for TPProto::Features:

Public Member Functions | |
| Features () | |
| Default constructor. | |
| virtual | ~Features () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer, asserts. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer. Unpacks the Features frame from the buffer. | |
| bool | hasSecureThisPort () const |
| Does this port support secure connection. | |
| bool | hasSecureOtherPort () const |
| Does another port support secure connection. | |
| bool | hasHttpTunnelingThisPort () const |
| Does this port support secure connection. | |
| bool | hasHttpTunnelingOtherPort () const |
| Does this port support secure connection. | |
| bool | supportsPing () const |
| Does this port support secure connection. | |
| bool | supportsServerSidePropertyCalc () const |
| Does this port support secure connection. | |
| bool | isSet (uint32_t val) const |
| Does this port support secure connection. | |
Protected Attributes | |
| std::set< uint32_t > | features |
| The set of features supported by the server. | |
| void TPProto::Features::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Pack into a Buffer, asserts.
Packs this Features frame into the buffer. Since the frame only comes from the server, this method assert(0).
| buf | Buffer to pack into, ignored. |
Implements TPProto::Frame.
| bool TPProto::Features::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer. Unpacks the Features frame from the buffer.
| buf | The Buffer to unpack out of. |
Implements TPProto::Frame.
| bool TPProto::Features::hasSecureThisPort | ( | ) | const |
Does this port support secure connection.
| bool TPProto::Features::hasSecureOtherPort | ( | ) | const |
Does another port support secure connection.
| bool TPProto::Features::hasHttpTunnelingThisPort | ( | ) | const |
Does this port support secure connection.
| bool TPProto::Features::hasHttpTunnelingOtherPort | ( | ) | const |
Does this port support secure connection.
| bool TPProto::Features::supportsPing | ( | ) | const |
Does this port support secure connection.
| bool TPProto::Features::supportsServerSidePropertyCalc | ( | ) | const |
Does this port support secure connection.
| bool TPProto::Features::isSet | ( | uint32_t | val | ) | const |
Does this port support secure connection.
1.5.1