Author: nunofsantos
Date: 2008-05-20 18:27:45 -0400 (Tue, 20 May 2008)
New Revision: 2074
Modified:
mgmt/mint/python/mint/__init__.py
Log:
heartbeat control callback
Modified: mgmt/mint/python/mint/__init__.py
===================================================================
--- mgmt/mint/python/mint/__init__.py 2008-05-20 21:54:06 UTC (rev 2073)
+++ mgmt/mint/python/mint/__init__.py 2008-05-20 22:27:45 UTC (rev 2074)
@@ -501,6 +501,8 @@
readableType = "CTRL_SCHEMA_LOADED"
elif (type == managementClient.CTRL_USER):
readableType = "CTRL_USER"
+ elif (type == managementClient.CTRL_HEARTBEAT):
+ readableType = "CTRL_HEARTBEAT"
self.log("BrokerId=%s , Type=%s, Data=%s" % (brokerId, readableType,
data))
self.log("END
CONTROL---------------------------------------------------\n")
return