hearbeatMessageHandler implemented