def init_heartbeat(self):
<EOL>hb_ctx = zmq.Context()<EOL>self.heartbeat = Heartbeat(hb_ctx, (self.ip, self.hb_port))<EOL>self.hb_port = self.heartbeat.port<EOL>self.log.debug("<STR_LIT>"%self.hb_port)<EOL>self.heartbeat.start()<EOL>self.log.critical("<STR_LIT>")<EOL>
start the heart beating