ZG
"1.00
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Friends
Macros
Pages
include
zg
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
{
20
PER_SYSTEM_PORT_BASE
=
GLOBAL_PORT_BASE
+100,
21
PER_SYSTEM_PORT_HEARTBEAT
,
22
PER_SYSTEM_PORT_DATA
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
{
27
PER_PROCESS_PORT_BASE
=
PER_SYSTEM_PORT_BASE
+100
28
};
29
34
String
PeerInfoToString
(
const
ConstMessageRef & peerInfo);
35
36
};
// end namespace zg
37
38
#endif
zg::PER_SYSTEM_PORT_BASE
guard value
Definition:
ZGConstants.h:20
zg::GLOBAL_PORT_BASE
guard value
Definition:
ZGConstants.h:15
zg::PER_PROCESS_PORT_BASE
guard value
Definition:
ZGConstants.h:27
zg
The zg namespace contains the public API of the ZG library.
Definition:
IDatabaseObject.h:8
zg::PER_SYSTEM_PORT_DATA
port to transmit database packets on
Definition:
ZGConstants.h:22
zg::PeerInfoToString
String PeerInfoToString(const ConstMessageRef &peerInfo)
Convenience method: Given a peer-info Message, returns a single-line string description of that Messa...
zg::PER_SYSTEM_PORT_HEARTBEAT
port to transmit heartbeat packets on
Definition:
ZGConstants.h:21
ZGNameSpace.h
Generated on Fri Jun 23 2017 20:32:21 for ZG by
1.8.8