class HeartMessageHandleWrapper implements MessageHandler {
        private MessageHandler messageHandler;

        public HeartMessageHandleWrapper(MessageHandler messageHandler) {
            this.messageHandler = messageHandler;
        }

        @Override
        public Object handle(Channel channel, Object message) {<FILL_FUNCTION_BODY>}

        @Override
        public Map<String, Object> getRuntimeInfo() {
            return messageHandler.getRuntimeInfo();
        }
    }

            if (isHeartbeatRequest(message)) {
                Response response = getDefaultHeartbeatResponse(((Request) message).getRequestId());
                response.setRpcProtocolVersion(((Request) message).getRpcProtocolVersion());
                return response;
            }
            return messageHandler.handle(channel, message);
        
<no_super_class>