LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg::ConnectionIn Class Reference

Incoming connection class.

#include <nrg_connection.h>

Public Member Functions

 ConnectionIn ()
 Default Constructor.
 
bool addPacket (Packet &p)
 Add a received packet with connection header information to be processed.
 
bool hasNewPacket () const
 Returns true if there is a packet ready to be taken.
 
PacketFlags getLatestPacket (Packet &p)
 Placed the latest packet into p, and returns its associated PacketFlags.
 
void setTransform (PacketTransformation *transform)
 Set a PacketTransformation to be removed from packets added to the connection.
 

The documentation for this class was generated from the following file: