GNE::RateAdjustPacket Class Reference
[Internal Classes]

The RateAdjustPacket is sent automatically by GNE when you change rates in the PacketStream. More...

#include <RateAdjustPacket.h>

Inheritance diagram for GNE::RateAdjustPacket:

Inheritance graph
[legend]
Collaboration diagram for GNE::RateAdjustPacket:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SmartPtr< RateAdjustPacketsptr
typedef WeakPtr< RateAdjustPacketwptr

Public Member Functions

virtual int getSize () const
 Returns the current size of this packet in bytes.
virtual void writePacket (Buffer &raw) const
 Writes the packet to the given Buffer.
virtual void readPacket (Buffer &raw)
 Reads this packet from the given Buffer.

Public Attributes

guint32 rate
 The requested rate.

Static Public Attributes

static const int ID = 3
 The ID for this type of packet.

Detailed Description

The RateAdjustPacket is sent automatically by GNE when you change rates in the PacketStream.

It is not a packet that you send, or that you will see -- it is used only internally by GNE.


The documentation for this class was generated from the following files:
Generated on Tue Sep 5 23:47:50 2006 for GNE by  doxygen 1.4.7