文件名称:Chatroom
介绍说明--下载内容来自于网络,使用问题请自行百度
这是一个包含用户界面的聊天软件,使用Java语言进行编辑。
采用了非常高效的编码逻辑,可以实现server端和client端。-It is the implementation of GUI for a chat room program.
Behaviors (Server)
When the server starts up, it should try to load from “accounts.dat” for saved accounts
o Each account consists of the username, the password and last login time of the user
o You need to decide how the data should be stored
o The file should be created automatically if it does not exist.
The server should update “accounts.dat” accordingly whenever is needed.
The server should handle connections from clients
o When a client login or logout, the server should update all other clients about it
o When a client send a message, the server should redirect the message to all other
clients
o When a client change password, the server should update its record accordingly
The server should communicate with the client by sending objects (i.e., using
ObjectInputStream and ObjectOutputStream)
For the client
The buddy list will be updated automatically when someone logged in or out.
When a user send a messag
采用了非常高效的编码逻辑,可以实现server端和client端。-It is the implementation of GUI for a chat room program.
Behaviors (Server)
When the server starts up, it should try to load from “accounts.dat” for saved accounts
o Each account consists of the username, the password and last login time of the user
o You need to decide how the data should be stored
o The file should be created automatically if it does not exist.
The server should update “accounts.dat” accordingly whenever is needed.
The server should handle connections from clients
o When a client login or logout, the server should update all other clients about it
o When a client send a message, the server should redirect the message to all other
clients
o When a client change password, the server should update its record accordingly
The server should communicate with the client by sending objects (i.e., using
ObjectInputStream and ObjectOutputStream)
For the client
The buddy list will be updated automatically when someone logged in or out.
When a user send a messag
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Chatroom/
Chatroom/Account.java
Chatroom/ChatMessage.java
Chatroom/Chatroom.java
Chatroom/ChatroomServer.java
Chatroom/Account.java
Chatroom/ChatMessage.java
Chatroom/Chatroom.java
Chatroom/ChatroomServer.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.