Classes | Namespaces | Typedefs | Functions

C:/knet/include/kNet/NetworkMessage.h File Reference

The class NetworkMessage. More...

#include "LockFreePoolAllocator.h"
#include "FragmentedTransferManager.h"
Include dependency graph for NetworkMessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kNet::NetworkMessage
 NetworkMessage stores the serialized byte data of a single outbound network message, along with fields that specify how itreated by the network connection. More...

Namespaces

namespace  kNet

Typedefs

typedef unsigned long kNet::packet_id_t
 Contains 22 actual bits of data.

Functions

bool kNet::PacketIDIsNewerThan (packet_id_t newID, packet_id_t oldID)
 Performs modular arithmetic comparison to see if newID refers to a PacketID newer than oldID.
packet_id_t kNet::AddPacketID (packet_id_t id, int increment)
 Computes the PacketID for the packet (id + increment).
packet_id_t kNet::SubPacketID (packet_id_t id, int sub)
 Computes the PacketID for the packet (id - sub).

Detailed Description

The class NetworkMessage.

Stores an outbound network message.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines