-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathShareFilesDetialInfoBean.java
More file actions
49 lines (38 loc) · 1.29 KB
/
Copy pathShareFilesDetialInfoBean.java
File metadata and controls
49 lines (38 loc) · 1.29 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.xmen.xteam.communication.bean;
import com.xmen.xteam.msgsockey.socket.adapter.ReceiveProtocol;
import java.util.HashMap;
/**
* 创 建 者: lwh
* 创建时间: 2018/1/2
* 描 述:
*/
public class ShareFilesDetialInfoBean extends BaseSocketBean {
private long st ; //原消息发送的时间 时间戳8位 精确到毫秒
private String param ; //消息参数属性json串(文件),具体看附录2
private String name;
public ShareFilesDetialInfoBean(HashMap<String, Object> receiveProtocol, ReceiveProtocol preseq) {
super(receiveProtocol,preseq);
}
@Override
protected void parse(HashMap<String, Object> receiveProtocol, ReceiveProtocol preseq) {
st = getInt("st");
param = getString("param");
name = getString("name");
}
public long getSt() {return st;}
public String getParam() {return param;}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return "ShareFilesDetialInfoBean{" +
"st=" + st +
", param='" + param + '\'' +
", name='" + name + '\'' +
'}';
}
}