TPProto::GetFeatures Class Reference

The GetFeatures frame requests the features the server supports. More...

#include <getfeatures.h>

Inheritance diagram for TPProto::GetFeatures:

TPProto::Frame List of all members.

Public Member Functions

 GetFeatures ()
 Default constructor.
virtual ~GetFeatures ()
 Required virtual destructor.
void packBuffer (Buffer *buf)
 Pack into a Buffer.
bool unpackBuffer (Buffer *buf)
 Unpack from a Buffer, fails always. Since GetFeature frames are only sent to the server, unpacking one doesn't make sence, and therefore always returns false.

Detailed Description

The GetFeatures frame requests the features the server supports.


Member Function Documentation

void TPProto::GetFeatures::packBuffer ( Buffer buf  )  [virtual]

Pack into a Buffer.

Packs this GetFeatures frame into the buffer.

Parameters:
buf Buffer to pack into.

Implements TPProto::Frame.

bool TPProto::GetFeatures::unpackBuffer ( Buffer buf  )  [virtual]

Unpack from a Buffer, fails always. Since GetFeature frames are only sent to the server, unpacking one doesn't make sence, and therefore always returns false.

Parameters:
buf The Buffer to unpack out of, ignored.
Returns:
False always.

Implements TPProto::Frame.


The documentation for this class was generated from the following files:
Generated on Tue Jan 6 09:15:47 2009 for libtpproto-cpp by  doxygen 1.5.1