Java的一个题目,设计一个message board,要求有网络服务

来源:百度知道 编辑:UC知道 时间:2024/07/04 09:20:35
A Message Board server stores messages organised by topic. Each topic consists of a number of messages received across a network connection from client programs. Your server will maintain a list of topics, and accept connections from clients across the network. The functionality of the server is as follows. Once a client has connected to the server, they may:

* Request a list of all topics. The server sends the client a list of all the topics currently stored on the server; this list will consist of pairs, comprising: the ID of a topic, and the name of the poster who initiated the topic. The network connection to the client is then closed.
* Request all messages in a particular topic. The client sends the ID of the topic, and the server sends all the messages in the topic with that ID. The network connection to the client is then closed.
* Add a message to a particular topic. The client sends the ID of the topic they wish to add to, and the message they wish to add

一个公告板服务器存储信息的话题。主题包含了大量的信息通过网络连接收到来自客户端程序。你的服务器将维持一个列表的主题,并接受来自客户通过网络连接。伺服器的功能。一旦一个客户端连接到服务器,有可能.

请求的* * *的主题。服务器发送客户的全部内容列表当前储存在服务器上,这份名单将由双,包括:身份证的一个主题,与这个名字的人发起的话题。海报。网络连接到客户端就关闭了。
*要求所有信息在一个特定的主题。客户端传送身份证的主题,服务器发送的信息,

老兄在哪读书啊,先把题目翻译完全好吗