CommonServer.h

00001 /* START_LICENSE_HEADER
00002 
00003 Copyright (C) 2000 Martin Piper, original design and program code
00004 Copyright (C) 2001 Replica Software
00005 
00006 This program file is copyright (C) Replica Software and can only be used under license.
00007 For more information visit: http://www.replicanet.com/
00008 Or email: info@replicanet.com
00009 
00010 END_LICENSE_HEADER */
00011 #ifndef _COMMONSERVER_H_
00012 #define _COMMONSERVER_H_
00013 #include "RNPlatform/Inc/DLLExportAPI.h"
00014 #include "RNPlatform/Inc/Encryption.h"
00015 #include "RNPlatform/Inc/ThreadClass.h"
00016 #include "RNPlatform/Inc/Thread.h"
00017 #include "RNXPSockets/Inc/XPSockets.h"
00018 #include "RNPlatform/Inc/MessageHelper.h"
00019 
00020 namespace RNReplicaNet
00021 {
00022 
00023 namespace RNLobby
00024 {
00025 
00027 class CommonServer
00028 {
00029 public:
00030     bool CommonCallbackParsePacketData(void *data,size_t &length,DynamicMessageHelper &result);
00031     void CommonPackageAndSendData(const DynamicMessageHelper &message,DynamicMessageHelper &result);
00032 
00033     Encryption::Key mCryptoKey;
00034 };
00035 
00036 } // namespace RNLobby
00037 
00038 } // namespace RNReplicaNet
00039 
00040 #endif

Generated on Sat Jun 28 22:02:16 2008 for ReplicaNet and RNLobby by  doxygen 1.5.3