News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

tnlNetConnection.h File Reference

tnlNetConnection.h File Reference

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

Namespaces

namespace  TNL

Defines

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


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)