首页>代码>Java基于swing的学院管理系统>/EndDom/src/cn/com/cssve/chat/ClientBean.java
package cn.com.cssve.chat;

import java.io.PrintWriter;
import java.net.Socket;

public class ClientBean {
	//一个客户  【socket 、 昵称  、输出流对象】
	Socket socket;
	String clientName;
	PrintWriter pw;
	public Socket getSocket() {
		return socket;
	}
	public void setSocket(Socket socket) {
		this.socket = socket;
	}
	public String getClientName() {
		return clientName;
	}
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}
	public PrintWriter getPw() {
		return pw;
	}
	public void setPw(PrintWriter pw) {
		this.pw = pw;
	}
	public ClientBean(Socket socket, String clientName, PrintWriter pw) {
		super();
		this.socket = socket;
		this.clientName = clientName;
		this.pw = pw;
	}
	public ClientBean() {
		super();
	}
	@Override
	public String toString() {
		return  clientName;
			
	}
	
	
}
最近下载更多
DoustrongWU  LV5 2月21日
sunshine9920  LV12 2023年10月22日
rain112  LV31 2022年6月16日
testuser1234567  LV24 2022年5月31日
ming_123_9715  LV23 2022年5月3日
rodert  LV14 2022年4月29日
wangxin199804  LV9 2022年4月3日
wyx065747  LV67 2022年4月2日
978806986  LV16 2022年3月24日
543666826  LV34 2022年3月12日
最近浏览更多
pxqtsht  LV16 2月21日
DoustrongWU  LV5 2月17日
zrq1025  LV11 2024年11月25日
krispeng  LV14 2024年9月17日
ZALZXB20030525 2024年7月1日
暂无贡献等级
heshao  LV2 2024年6月4日
hfffff  LV1 2024年6月3日
MrDuan  LV2 2024年5月15日
akittyboy  LV9 2024年3月22日
jiayongchao258  LV9 2023年12月28日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友