#include <ExitPacket.h>
Inheritance diagram for GNE::ExitPacket:


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 | |
| static const int | ID = 2 |
| The ID for this type of packet. | |
You need not use this class. When you receive an ExitPacket, though, a graceful disconnect is initiated that generates an onExit event.
1.4.7