Classes | Namespaces | Enumerations | Functions

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

The MessageConnection and ConnectionStatistics classes. More...

#include <vector>
#include <map>
#include <utility>
#include <set>
#include "WaitFreeQueue.h"
#include "LockFreePoolAllocator.h"
#include "Lockable.h"
#include "Socket.h"
#include "IMessageHandler.h"
#include "BasicSerializedDataTypes.h"
#include "Datagram.h"
#include "FragmentedTransferManager.h"
#include "NetworkMessage.h"
#include "Event.h"
#include "DataSerializer.h"
#include "DataDeserializer.h"
#include "MaxHeap.h"
#include "Clock.h"
#include "PolledTimer.h"
#include "Thread.h"
Include dependency graph for MessageConnection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kNet::ConnectionStatistics
 Stores information about an established MessageConnection. More...
struct  kNet::ConnectionStatistics::PingTrack
 Remembers a ping request that was sent to the other end. More...
struct  kNet::ConnectionStatistics::TrafficTrack
 Remembers both in- and outbound traffic events on the socket. More...
struct  kNet::ConnectionStatistics::DatagramIDTrack
 Remembers the send/receive time of a datagram with a certain ID. More...
class  kNet::NetworkMessagePriorityCmp
 Comparison object that sorts the two messages by their priority (higher priority/smaller number first). More...
class  kNet::MessageConnection
 Represents a single established network connection. More...

Namespaces

namespace  kNet

Enumerations

enum  kNet::ConnectionState {
  kNet::ConnectionPending, kNet::ConnectionOK, kNet::ConnectionDisconnecting, kNet::ConnectionPeerClosed,
  kNet::ConnectionClosed
}
 

Represents the current state of the connection.

More...

Functions

std::string kNet::ConnectionStateToString (ConnectionState state)
 Returns a textual representation of a ConnectionState.

Detailed Description

The MessageConnection and ConnectionStatistics classes.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines