package safeluck.drive.evaluation.platformMessage;
|
|
import safeluck.drive.evaluation.platformMessage.DriveExamProtocol;
|
|
/**
|
* 心跳消息
|
* MyApplication2
|
* Created by lzw on 2019/12/19. 18:24:47
|
* 邮箱:632393724@qq.com
|
* All Rights Saved! Chongqing AnYun Tech co. LTD
|
*/
|
public class KeepaliveMessage extends DriveExamProtocol {
|
|
|
private static final int BODY_LENGTH = 0;
|
// TODO: 2019/12/19
|
|
public KeepaliveMessage(short msg_id) {
|
super(msg_id);
|
}
|
|
@Override
|
protected short msgBodyLength() {
|
return BODY_LENGTH;
|
}
|
|
@Override
|
protected byte[] createMessageBody() {
|
return new byte[BODY_LENGTH];
|
}
|
}
|