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. | |