ReplicaNet and RNLobby  1
CommonServer.h
1 /* START_LICENSE_HEADER
2 
3 Copyright (C) 2000 Martin Piper, original design and program code
4 Copyright (C) 2001 Replica Software
5 
6 This program file is copyright (C) Replica Software and can only be used under license.
7 For more information visit: http://www.replicanet.com/
8 Or email: info@replicanet.com
9 
10 END_LICENSE_HEADER */
11 #include "RNPlatform/Inc/MemoryTracking.h"
12 #ifndef _COMMONSERVER_H_
13 #define _COMMONSERVER_H_
14 #include "RNPlatform/Inc/Encryption.h"
15 #include "RNPlatform/Inc/ThreadClass.h"
16 #include "RNPlatform/Inc/Thread.h"
17 #include "RNXPSockets/Inc/XPSockets.h"
18 #include "RNPlatform/Inc/MessageHelper.h"
19 
20 namespace RNReplicaNet
21 {
22 
23 namespace RNLobby
24 {
25 
28 {
29 public:
30  bool CommonCallbackParsePacketData(void *data,size_t &length,DynamicMessageHelper &result,const int moreSalt = 0);
31  void CommonPackageAndSendData(const DynamicMessageHelper &message,DynamicMessageHelper &result,const int moreSalt = 0);
32 
33  Encryption::Key mCryptoKey;
34 };
35 
36 } // namespace RNLobby
37 
38 } // namespace RNReplicaNet
39 
40 #endif
Definition: Encryption.h:27
A common server support class.
Definition: CommonServer.h:27
Definition: MessageHelper.h:211