局域网聊天系统代码.docVIP

  • 14
  • 0
  • 约4.58万字
  • 约 45页
  • 2019-05-14 发布于江西
  • 举报
Server代码 Bean 类 package Server; import java.net.Socket; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; public class Bean implements Serializable{ private int type; // 1私聊 0上下线更新 -1下线请求 2请求发送文件 3.确定接收文件 private HashSetString clients; // 存放选中的客户 private HashSetString to; public HashMapString, Bean onlines; private String info; private String timer; private String name; private String fileName; private int size; private String ip; private int port; public int getType() { return type; } public void setType(int type) { this.type = type; } pub

文档评论(0)

1亿VIP精品文档

相关文档