lizhanwei
2020-02-18 1d05a7834361cfa6c4caec132363863974453f52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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];
    }
}