cm-cloud/cloud-common-socket/src/main/java/com/cm/socket/pojo/Message.java

44 lines
810 B
Java
Raw Normal View History

2020-07-04 19:00:01 +08:00
package com.cm.socket.pojo;
/**
* When you feel like quitting. Think about why you started
* 当你想要放弃的时候想想当初你为何开始
*
* @ClassName: Message
* @Description: 消息
* @Author: WangGeng
* @Date: 2020/7/4 15:56
* @Version: 1.0
**/
public class Message {
private byte start;
private byte type;
private String content;
public byte getStart() {
return start;
}
public void setStart(byte start) {
this.start = start;
}
public byte getType() {
return type;
}
public void setType(byte type) {
this.type = type;
}
public String getContent() {
return content == null ? "" : content.trim();
}
public void setContent(String content) {
this.content = content;
}
}