ZG  "1.00
 All Classes Namespaces Files Functions Variables Enumerator Friends Macros Pages
ZGConstants.h
Go to the documentation of this file.
1 #ifndef ZGConstants_h
2 #define ZGConstants_h
3 
4 #include "message/Message.h"
5 #include "zg/ZGNameSpace.h"
6 
7 namespace zg
8 {
9 
10 #define ZG_VERSION_STRING "1.00"
11 #define ZG_VERSION 10000
14 enum {
15  GLOBAL_PORT_BASE = 41780,
16 };
17 
19 enum {
23 };
24 
25 // Enumeration of port numbers that will be the different for each peer-process in a ZG system (not currently used)
26 enum {
28 };
29 
34 String PeerInfoToString(const ConstMessageRef & peerInfo);
35 
36 }; // end namespace zg
37 
38 #endif
guard value
Definition: ZGConstants.h:15
The zg namespace contains the public API of the ZG library.
port to transmit database packets on
Definition: ZGConstants.h:22
String PeerInfoToString(const ConstMessageRef &peerInfo)
Convenience method: Given a peer-info Message, returns a single-line string description of that Messa...
port to transmit heartbeat packets on
Definition: ZGConstants.h:21