|
@@ -17,7 +17,7 @@ public class SZYXMessage extends PacketMessage {
|
|
|
/**
|
|
|
* 发送者信息
|
|
|
*/
|
|
|
- private UserInfo fromClient;
|
|
|
+ private String fromClientId;
|
|
|
/**
|
|
|
* 接收者信息
|
|
|
*/
|
|
@@ -48,12 +48,12 @@ public class SZYXMessage extends PacketMessage {
|
|
|
private MsgType msgType;
|
|
|
private SZYXTextMessage textMessage;
|
|
|
|
|
|
- public UserInfo getFromClient() {
|
|
|
- return fromClient;
|
|
|
+ public String getFromClientId() {
|
|
|
+ return fromClientId;
|
|
|
}
|
|
|
|
|
|
- public void setFromClient(UserInfo fromClient) {
|
|
|
- this.fromClient = fromClient;
|
|
|
+ public void setFromClientId(String fromClientId) {
|
|
|
+ this.fromClientId = fromClientId;
|
|
|
}
|
|
|
|
|
|
public String getToClientId() {
|
|
@@ -124,7 +124,7 @@ public class SZYXMessage extends PacketMessage {
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "SZYXMessage{" +
|
|
|
- "fromClient=" + fromClient +
|
|
|
+ "fromClient=" + fromClientId +
|
|
|
", toClientId='" + toClientId + '\'' +
|
|
|
", groupID='" + groupID + '\'' +
|
|
|
", describe='" + describe + '\'' +
|