TPProto::Sequence Class Reference

Sent by the server to indicate the number of Frames in a set to follow. More...

#include <sequence.h>

Inheritance diagram for TPProto::Sequence:

TPProto::Frame List of all members.

Public Member Functions

 Sequence ()
 Default constructor.
virtual ~Sequence ()
 Required virtual destructor.
void packBuffer (Buffer *buf)
 Pack into a Buffer, Assert(0).
bool unpackBuffer (Buffer *buf)
 Unpack from a Buffer.
int getNumber ()
 Gets the number of Frames that should follow this one.

Detailed Description

Sent by the server to indicate the number of Frames in a set to follow.


Member Function Documentation

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

Pack into a Buffer, Assert(0).

This Frame does not get sent to the server, so this method asserts zero.

Parameters:
buf Buffer to pack into, ignored.

Implements TPProto::Frame.

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

Unpack from a Buffer.

Parameters:
buf The Buffer to unpack from.
Returns:
True if successful.

Implements TPProto::Frame.

int TPProto::Sequence::getNumber (  ) 

Gets the number of Frames that should follow this one.

Returns:
The number of Frames.


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