Commit e744c576afaf2b7215d4088102cc84f49fa7e6c4

Authored by Cédric RICARD
1 parent 68665c4a

New message constants

calexium_lib/CXM_message_constants.anubis
@@ -112,14 +112,21 @@ public define Word32 _CXM_MAILING_REMOVE_CONTACT_FROM_MAILING = 0x33772222. @@ -112,14 +112,21 @@ public define Word32 _CXM_MAILING_REMOVE_CONTACT_FROM_MAILING = 0x33772222.
112 112
113 public define Word32 _CXM_DIRECTORY_SERVICE_MSG_BASIS = 0x33772300. 113 public define Word32 _CXM_DIRECTORY_SERVICE_MSG_BASIS = 0x33772300.
114 114
  115 +// ************* BACKUP SERVICE *************
  116 +
  117 +public define Word32 _CXM_BACKUP_SERVICE_MSG_BASIS = 0x33772400.
  118 +public define Word32 _CXM_BACKUP_SERVICE_ID = 0x33772401.
  119 +public define Word32 _CXM_BACKUP_GET_STATUS = 0x33772402. /// Get backup status for a given MF (can subscribe, subscribed, subscription end date...)
  120 +public define Word32 _CXM_BACKUP_STARTING_BACKUP = 0x33772403. /// Notify BackupService that backup process is starting
  121 +public define Word32 _CXM_BACKUP_FINISHING_BACKUP = 0x33772404. /// Notify BackupService that backup process is finishing
  122 +public define Word32 _CXM_BACKUP_STARTING_RESTORE = 0x33772405. /// Notify BackupService that restore process is starting
  123 +public define Word32 _CXM_BACKUP_FINISHING_RESTORE = 0x33772406. /// Notify BackupService that restore process is finishing
  124 +
115 // ************* STATISTICS SERVICE ************* 125 // ************* STATISTICS SERVICE *************
116 126
117 -public define Word32 _CXM_STATS_SERVICE_MSG_BASIS = 0x33772400. 127 +public define Word32 _CXM_STATS_SERVICE_MSG_BASIS = 0x33772500.
118 128
119 // ************* SUPERVISER SERVICE ************* 129 // ************* SUPERVISER SERVICE *************
120 130
121 -public define Word32 _CXM_SUPERVISER_SERVICE_MSG_BASIS = 0x33772500.  
122 -  
123 -// ************* BACKUP SERVICE ************* 131 +public define Word32 _CXM_SUPERVISER_SERVICE_MSG_BASIS = 0x33772600.
124 132
125 -public define Word32 _CXM_BACKUP_SERVICE_MSG_BASIS = 0x33772600.  
calexium_lib/net_services/CXM_generic_client.anubis
@@ -166,7 +166,7 @@ define Maybe($T) @@ -166,7 +166,7 @@ define Maybe($T)
166 handler(queue, timestamp) 166 handler(queue, timestamp)
167 } 167 }
168 else 168 else
169 - logger("["+queue.get_name(unique)+"]: requested service started won't start");failure 169 + logger("["+queue.get_name(unique)+"]: the requested service is not available on server.");failure
170 } 170 }
171 }. 171 }.
172 172