CXM_message_constants.anubis
8.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
*
* User: David RENE
* Date: 07/04/2007
* Time: 16:06
* (c) Calexium
*
*/
public define Word32 _NO_NAME_MSG = 0x00000000.
// **************** MAILBOX PROTOCOL ***************
public define Word32 _C_SCAN_FOR_BOXES = 0x33770001. // Ask Boxes to publish their informations
public define Word32 _C_PUBLISH_BOX_STATUS = 0x33770002. // Used by Boxes to publish their informations
public define Word32 _C_SHUTDOWN_BOX = 0x33770003. // Used to ask a box to shutdown
public define Word32 _CXM_SET_BOX_NETWORK_PARAMS = 0x33770004. // Define network configuration of boxes
public define Word32 _CXM_RESET_ADMIN_PWD = 0x33770005. // Ask the MailFountain to reset the admin pwd.
public define Word32 _CXM_FULL_RESET = 0x33770006. // Ask the MailFountain to proceed to a full reset of its data. After that, the MailFountain is totally empty (mail, config, domain, logs, etc...)
public define Word32 _CXM_FORCE_PUBLISH_MF_CONFIG = 0x33770007. // Ask the MailFountain to proceed a Config publishing to DomainManager
// **************** PACKAGE BUILDER ***************
public define Word32 _CXM_PKG_MSG_BASIS = 0x33770400. //
public define Word32 _CXM_PKG_CONTAINER = 0x33770401.
public define Word32 _CXM_PKG_HEADER_PART = 0x33770402. // Header Message for Script
public define Word32 _CXM_PKG_SCRIPT_PART = 0x33770403. // Main Message for Script
public define Word32 _CXM_PKG_S_ADD_FILE = 0x33770404. // script action to add file in the destination
public define Word32 _CXM_PKG_S_RUN = 0x33770405. // script action to run a command
public define Word32 _CXM_PKG_INDEX_PART = 0x33770440. // ID of package Index part
public define Word32 _CXM_PKG_IDX_ENTRY = 0x33770441. // Index entry information
// **************** UPDATE SERVICE ***************
public define Word32 _CXM_UPDATE_SERVICE_MSG_BASIS = 0x33770800. //
public define Word32 _CXM_UPD_SERVICE_ID = 0x33770801.
public define Word32 _CXM_UPD_HAS_UPDATE = 0x33770802. //
public define Word32 _CXM_UPD_LIST_CLASS_FILES = 0x33770803. // List the files contained in the class path
// **************** SERVICE NEGOCIATION ***************
public define Word32 _CXM_SERVICE_NEGOCIATION_BASIS = 0x33770C00. //
public define Word32 _CXM_REQUEST_FOR_SERVICE = 0x33770C01. //
public define Word32 _CXM_LOGIN = 0x33770C02. //
// **************** GENERIC PROTOCOL ***************
public define Word32 _CXM_GENERIC_PROTOCOL_BASIS = 0x33771000. //
public define Word32 _CXM_ACK = 0x33771001. //
public define Word32 _CXM_ACK_RESULT_MSG = 0x33771002. //
// **************** FTP SERVICE ***************
public define Word32 _CXM_FTP_SERVICE_MSG_BASIS = 0x33771400. //
public define Word32 _CXM_FTP_SERVICE_ID = 0x33771401.
public define Word32 _CXM_FTP_GET_FILE = 0x33771402.
public define Word32 _CXM_FTP_START_TRANSFERT = 0x33771403.
public define Word32 _CXM_FTP_DATA = 0x33771404.
// ************** LOGGER SERVICE **************
public define Word32 _CXM_LOGGER_SERVICE_MSG_BASIS = 0x33771800. //
public define Word32 _CXM_LOGGER_SERVICE_ID = 0x33771801.
public define Word32 _CXM_LOGGER_LOG = 0x33771802.
// ************** DOMAIN SERVICE **************
// MF <-> DomainManager
public define Word32 _CXM_DOMAIN_SERVICE_MSG_BASIS = 0x33771C00. //
public define Word32 _CXM_DOMAIN_SERVICE_ID = 0x33771C01.
public define Word32 _CXM_DOMAIN_PUBLISH_MF_CONFIG = 0x33771C02.
public define Word32 _CXM_DOMAIN_GET_NAME = 0x33771C03.
public define Word32 _CXM_DOMAIN_GET_MY_IP = 0x33771C04.
public define Word32 _CXM_DOMAIN_PUBLISH_MY_IP = 0x33771C05.
public define Word32 _CXM_DOMAIN_PUBLISH_DYN_TEST = 0x33771C06.
public define Word32 _CXM_DOMAIN_GET_STATUS = 0x33771C07.
public define Word32 _CXM_DOMAIN_GET_DOMAIN_INFO = 0x33771C08.
public define Word32 _CXM_DOMAIN_CRITICAL_ALERT = 0x33771C09.
public define Word32 _CXM_DOMAIN_COMMAND_RESULT = 0x33771C0A.
// DomainManager <-> Gandi
public define Word32 _CXM_GANDI_SERVICE_ID = 0x33771D00.
public define Word32 _CXM_GANDI_CHECK_AVAILABILITY = 0x33771D01. // 'NAME' (String): Base names (without extension) of the wanted domains
// --> CXM_ACK with 'DOMAINS' (String): Array of avaiblable domains
public define Word32 _CXM_GANDI_CREATE_CONTACT = 0x33771D02. // 'CLASS' (String):
// 'FIRSTNAME', 'LASTNAME', 'ADDRESS', 'ZIPCODE', 'CITY', 'COUNTRY', 'PHONE', 'EMAIL' (String)
// --> CXM_ACK with 'CONTACT_HANDLE' (String): Created handle for this contact
public define Word32 _CXM_GANDI_CREATE_DOMAIN = 0x33771D03. // 'DOMAIN' (String): Domain full name
// 'OWNER' (String): Owner handle
// --> CXM_ACK with 'DOMAIN_HANDLE' (String): Created handle for this domain
// ************** MF INSTALLER SERVICE **************
public define Word32 _CXM_INSTALLER_SERVICE_MSG_BASIS= 0x33772000.
public define Word32 _CXM_INSTALLER_SERVICE_ID = 0x33772001.
public define Word32 _CXM_INSTALLER_REGISTER_APP_ID = 0x33772002.
public define Word32 _CXM_INSTALLER_GET_NEW_SERIALS = 0x33772003.
public define Word32 _CXM_INSTALLER_CONFIRM_SERIALS_PUBLICATION = 0x33772004.
public define Word32 _CXM_INSTALLER_GET_MODELS = 0x33772005. // returns the MF models list
// *************************************************
// ************* MF API *************
// ************* ACCOUNTS SERVICE *************
public define Word32 _CXM_ACCOUNT_SERVICE_MSG_BASIS = 0x33772100.
// ************* MAILINGS SERVICE *************
public define Word32 _CXM_MAILING_SERVICE_MSG_BASIS = 0x33772200.
public define Word32 _CXM_MAILING_SERVICE_ID = 0x33772200. // same as MSG_BASIS
public define Word32 _CXM_MAILING_CREATE_CONTACT = 0x33772201.
public define Word32 _CXM_MAILING_UPDATE_CONTACT = 0x33772202.
public define Word32 _CXM_MAILING_DELETE_CONTACT = 0x33772203.
public define Word32 _CXM_MAILING_CREATE_MAILING = 0x33772211.
public define Word32 _CXM_MAILING_UPDATE_MAILING = 0x33772212.
public define Word32 _CXM_MAILING_DELETE_MAILING = 0x33772213.
public define Word32 _CXM_MAILING_ADD_CONTACT_TO_MAILING = 0x33772221.
public define Word32 _CXM_MAILING_REMOVE_CONTACT_FROM_MAILING = 0x33772222.
// ************* DIRECTORY SERVICE *************
public define Word32 _CXM_DIRECTORY_SERVICE_MSG_BASIS = 0x33772300.
// ************* BACKUP SERVICE *************
public define Word32 _CXM_BACKUP_SERVICE_MSG_BASIS = 0x33772400.
public define Word32 _CXM_BACKUP_SERVICE_ID = 0x33772401.
public define Word32 _CXM_BACKUP_GET_STATUS = 0x33772402. /// Get backup status for a given MF (can subscribe, subscribed, subscription end date...)
public define Word32 _CXM_BACKUP_STARTING_BACKUP = 0x33772403. /// Notify BackupService that backup process is starting
public define Word32 _CXM_BACKUP_FINISHING_BACKUP = 0x33772404. /// Notify BackupService that backup process is finishing
public define Word32 _CXM_BACKUP_STARTING_RESTORE = 0x33772405. /// Notify BackupService that restore process is starting
public define Word32 _CXM_BACKUP_FINISHING_RESTORE = 0x33772406. /// Notify BackupService that restore process is finishing
// ************* STATISTICS SERVICE *************
public define Word32 _CXM_STATS_SERVICE_MSG_BASIS = 0x33772500.
// ************* SUPERVISER SERVICE *************
public define Word32 _CXM_SUPERVISER_SERVICE_MSG_BASIS = 0x33772600.
public define Word32 _CXM_SUPERVISER_SERVICE_ID = 0x33772600.
public define Word32 _CXM_SUPERVISER_GET_STATUS = 0x33772601.
// *************************************************
// ************* KERO_PBX API *************
public define Word32 _CXM_KERO_PBX_MSG_BASIS = 0x33780000. // Ask Boxes to publish their informations