Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

PacketReceiver< PacketType, SocketType > Class Template Reference
[GanefCommon]

This class receives UDP packets and places them in the ingoing queue. It also handlings general Framework jobs, like sending Acks back if the packet was set as reliable, etc. More...

#include <packetreceiver.h>

List of all members.

Public Member Functions

 PacketReceiver (SocketType *socket, Queue< PacketType > *queue, Framework< PacketType, SocketType > *framework)
 ~PacketReceiver ()
void startListening ()
void stopListening ()
virtual void execute ()
virtual void cleanup ()
void handlePacket (PacketType *packet)
unsigned long bytesReceived () const
unsigned long packetsReceived () const
unsigned long packetsDelivered () const
unsigned long packetsUnreliableSkipped () const
unsigned long packetsReliableSkipped () const


Detailed Description

template<class PacketType, class SocketType>
class PacketReceiver< PacketType, SocketType >

This class receives UDP packets and places them in the ingoing queue. It also handlings general Framework jobs, like sending Acks back if the packet was set as reliable, etc.

Author:
Lars Langer and Emanuel Greisen

Definition at line 45 of file packetreceiver.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 12:24:52 2006 for Ganef by  doxygen 1.4.4