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:
GNE::Packet

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 Mon Dec 21 13:34:55 2009 for GNE by  doxygen 1.6.1