From 15bb49b1b55fb9b98b4c8070e552750587488703 Mon Sep 17 00:00:00 2001 From: Cedric RICARD Date: Thu, 3 Dec 2009 18:10:33 +0000 Subject: [PATCH] New message constants --- calexium_lib/CXM_message_constants.anubis | 11 +++++++++++ calexium_lib/net_services/CXM_net_services.anubis | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/calexium_lib/CXM_message_constants.anubis b/calexium_lib/CXM_message_constants.anubis index 81aa2d1..a003d37 100644 --- a/calexium_lib/CXM_message_constants.anubis +++ b/calexium_lib/CXM_message_constants.anubis @@ -8,6 +8,15 @@ * To change this template use Tools | Options | Coding | Edit Standard Headers. */ +// **************** 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...) + // **************** PACKAGE BUILDER *************** public define Word32 _CXM_PKG_MSG_BASIS = 0x33770400. // @@ -129,4 +138,6 @@ 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. diff --git a/calexium_lib/net_services/CXM_net_services.anubis b/calexium_lib/net_services/CXM_net_services.anubis index d0ee882..dcf687b 100644 --- a/calexium_lib/net_services/CXM_net_services.anubis +++ b/calexium_lib/net_services/CXM_net_services.anubis @@ -109,7 +109,6 @@ define One List(NetService) net_services, String peer )= - //TODO DR add a real management of error //println("Service NEGOCIATION [" + to_hexa(*msg.what) + "] received"); if * msg.what = _CXM_REQUEST_FOR_SERVICE then if has_service(queue, msg, net_services) is -- libgit2 0.21.4