Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: tnlNetConnection.h File Reference

# tnlNetConnection.h File Reference

`#include "tnlNetBase.h"`
`#include "tnlLog.h"`
`#include "tnlNonce.h"`
`#include "tnlSymmetricCipher.h"`

## Namespaces

namespace | TNL

## Data Structures

struct | TNL::NetConnectionRep
| NetConnectionRep maintians a linked list of valid connection classes. More...
struct | TNL::ConnectionParameters
| All data associated with the negotiation of the connection. More...
class | TNL::NetConnection
| TNL network connection base class. More...
struct | TNL::NetConnection::PacketNotify
| Structure used to track what was sent in an individual packet for processing upon notification of delivery success or failure. More...
struct | TNL::NetConnection::NetRate
| Rate management structure used specify the rate at which packets are sent and the maximum size of each packet. More...

## Defines

#define | TNL_DECLARE_NETCONNECTION(className)
#define | TNL_IMPLEMENT_NETCONNECTION(className, classGroup, canRemoteCreate)

## Variables

static const U32 | TNL::MinimumPaddingBits = 128
| Padding space that is required at the end of each packet for bit flag writes and such.

## Define Documentation

#define TNL_DECLARE_NETCONNECTION | ( | className |  | ) |

Value:

    TNL_DECLARE_CLASS(className); \
       TNL::NetClassGroup getNetClassGroup() const

#define TNL_IMPLEMENT_NETCONNECTION | ( | className,
|  | classGroup,
|  | canRemoteCreate |  | ) |

Value:

    TNL::NetClassRep* className::getClassRep() const { return &className::dynClassRep; } \
       TNL::NetClassRepInstance<className> className::dynClassRep(#className, 0, TNL::NetClassTypeNone, 0); \
       TNL::NetClassGroup className::getNetClassGroup() const { return classGroup; } \
       static TNL::NetConnectionRep g##className##Rep(&className::dynClassRep, canRemoteCreate)