Files
IM-server-new/common/src/main/java/cn/wildfirechat/pojos/SendMessageResult.java
T

48 lines
1.0 KiB
Java
Raw Normal View History

2019-03-16 17:04:23 +08:00
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2019-05-22 07:23:09 +08:00
package cn.wildfirechat.pojos;
2019-03-16 17:04:23 +08:00
import cn.wildfirechat.proto.WFCMessage;
import io.netty.util.internal.StringUtil;
2026-02-04 10:39:34 +08:00
/**
* 发送消息结果类
* <p>
* 封装发送消息后的返回结果,包含消息UID和时间戳。
* </p>
*/
2019-03-16 17:04:23 +08:00
public class SendMessageResult {
private long messageUid;
private long timestamp;
public SendMessageResult() {
}
public SendMessageResult(long messageUid, long timestamp) {
this.messageUid = messageUid;
this.timestamp = timestamp;
}
public long getMessageUid() {
return messageUid;
}
public void setMessageUid(long messageUid) {
this.messageUid = messageUid;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}