文件名称:jishitongxun
介绍说明--下载内容均来自于网络,请自行研究使用
基于Java源码的仿QQ聊天程序,测试运行时请将userInfo.properties拷贝到C盘根目录下。 存放与服务器连接上的对应的Socket,作用是保存服务器与客户端之间的流,便于服务器给每个客户端进行回发消息。 SocketListener内部类:监听客户端是否有连接到服务器,并将此客户端的Socket传递给HandleSocket进行处理,同时将client存放到List中,即clientConnection中。 HandleSocket内部类:处理一个Socket,接收一个Client发送过来的消息,并且服务器原封不动的返回给所有客户端,客户端对消息进行过滤。-Java-based source of imitation QQ chat program, test run when you' re userInfo.properties copied to the C root directory. Storage and server connection on the corresponding Socket, the role is saved between server and client flow, ease server to each client sends a message back. SocketListener inner class: listen client has to connect to the server and the client' s Socket passed to HandleSocket for processing, while the client is stored in the List, which clientConnection middle. HandleSocket inner classes: Handling a Socket, receiving a message sent from the Client and the server returned intact to all clients, the client performs message filtering.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
即时通讯聊天
............\..\..\.classpath
............\..\..\.project
............\..\..\.settings
............\..\..\.........\org.eclipse.core.resources.prefs
............\..\..\bin
............\..\..\...\com
............\..\..\...\...\..\main
............\..\..\...\...\..\....\AllTalkFrame$1.class
............\..\..\...\...\..\....\AllTalkFrame$2.class
............\..\..\...\...\..\....\AllTalkFrame$3.class
............\..\..\...\...\..\....\AllTalkFrame$4.class
............\..\..\...\...\..\....\AllTalkFrame$5.class
............\..\..\...\...\..\....\AllTalkFrame$showOldMessageThread.class
............\..\..\...\...\..\....\AllTalkFrame.class
............\..\..\...\...\..\....\Client.class
............\..\..\...\...\..\....\Main$1.class
............\..\..\...\...\..\....\Main$2.class
............\..\..\...\...\..\....\Main.class
............\..\..\...\...\..\....\PointToPointTalkFrame$1.class
............\..\..\...\...\..\....\PointToPointTalkFrame$2.class
............\..\..\...\...\..\....\PointToPointTalkFrame$showOldMessageThread.class
............\..\..\...\...\..\....\PointToPointTalkFrame.class
............\..\..\...\...\..\regist
............\..\..\...\...\..\......\Regist$1.class
............\..\..\...\...\..\......\Regist$2.class
............\..\..\...\...\..\......\Regist$3.class
............\..\..\...\...\..\......\Regist$4.class
............\..\..\...\...\..\......\Regist$5.class
............\..\..\...\...\..\......\Regist$6.class
............\..\..\...\...\..\......\Regist.class
............\..\..\...\...\..\......\UserInformation.class
............\..\..\...\...\..\server
............\..\..\...\...\..\......\Server$HandleSocket.class
............\..\..\...\...\..\......\Server$SocketListener.class
............\..\..\...\...\..\......\Server.class
............\..\..\...\images
............\..\..\...\......\企鹅.JPG
............\..\..\...\......\会员.gif
............\..\..\...\userInfo.properties
............\..\..\src
............\..\..\...\com
............\..\..\...\...\..\main
............\..\..\...\...\..\....\AllTalkFrame.java
............\..\..\...\...\..\....\Client.java
............\..\..\...\...\..\....\Main.java
............\..\..\...\...\..\....\PointToPointTalkFrame.java
............\..\..\...\...\..\regist
............\..\..\...\...\..\......\Regist.java
............\..\..\...\...\..\......\UserInformation.java
............\..\..\...\...\..\server
............\..\..\...\...\..\......\Server.java
............\..\..\...\images
............\..\..\...\......\企鹅.JPG
............\..\..\...\......\会员.gif
............\..\readme.txt
............\..\userInfo.properties