Main Page   Modules   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

GNE::ExitPacket Class Reference
[Mid-Level APIInternal Classes]

#include <ExitPacket.h>

Inheritance diagram for GNE::ExitPacket:

GNE::Packet List of all members.

Public Types

typedef SmartPtr< ExitPacket > sptr
typedef WeakPtr< ExitPacket > wptr

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.


Static Public Attributes

const int ID = 2
 The ID for this type of packet.


Detailed Description

The ExitPacket is sent automatically by GNE when you disconnect in a proper manner. You need not use this class. When you receive an ExitPacket, though, a graceful disconnect is initiated that generates an onExit event.


The documentation for this class was generated from the following files:
Generated on Fri Aug 22 13:40:06 2003 for GNE by doxygen1.3