首页>代码>java swing开发大猫聊天室源码,简单易懂,适合java swing初学者>/java swing开发大猫聊天室源码/CatClient/src/cat/function/CatBean.java
package cat.function;
import java.io.Serializable;
import java.util.HashMap;
import java.util.HashSet;
public class CatBean implements Serializable {
private int type; // 1私聊 0上下线更新 -1下线请求 2请求发送文件 3.确定接收文件
private HashSet<String> clients; // 存放选中的客户
private HashSet<String> to;
public HashMap<String, ClientBean> onlines;
private String info;
private String timer;
private String name;
private String fileName;
private int size;
private String ip;
private int port;
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public HashSet<String> getTo() {
return to;
}
public void setTo(HashSet<String> to) {
this.to = to;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public HashSet<String> getClients() {
return clients;
}
public void setClients(HashSet<String> clients) {
this.clients = clients;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}
public String getTimer() {
return timer;
}
public void setTimer(String timer) {
this.timer = timer;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public HashMap<String, ClientBean> getOnlines() {
return onlines;
}
public void setOnlines(HashMap<String, ClientBean> onlines) {
this.onlines = onlines;
}
}
最近下载更多
moyuzc LV1
2024年5月7日
lalalla159 LV3
2023年12月2日
lxsnh123 LV3
2022年11月15日
aaaaachi LV1
2022年6月27日
渔客不知鱼乐 LV2
2022年6月18日
微信网友_6003487859068928 LV5
2022年6月15日
微信网友_5945726344056832 LV2
2022年5月5日
zhendong LV7
2022年3月10日
罐瓶 LV2
2022年2月27日
yuxinnan LV4
2022年2月4日
最近浏览更多
微信网友_7556333962743808 LV1
6月19日
Vincter LV3
2024年12月25日
13133117021 LV5
2024年12月24日
zjjxy2312040436
2024年12月23日
暂无贡献等级
dsczs666
2024年8月18日
暂无贡献等级
柳咪华沙 LV7
2024年6月28日
Po1aris
2024年6月23日
暂无贡献等级
18853847682
2024年6月17日
暂无贡献等级
大喊大叫凶手
2024年6月1日
暂无贡献等级
ethan_
2024年5月29日
暂无贡献等级

