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

The ExitPacket is sent automatically by GNE when you disconnect in a proper manner. More...

#include <ExitPacket.h>

Inheritance diagram for GNE::ExitPacket:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef SmartPtr< ExitPacketsptr
typedef WeakPtr< ExitPacketwptr

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

static 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 Tue Sep 5 23:47:48 2006 for GNE by  doxygen 1.4.7