找回密码
 立即注册
Theshouldfunction功能 | Jsp/Servlet 2022-10-19 102 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
(1)课程设计命令给出的是一个比较基本的请求,实验者要依据命令请求,把命令的潜在需要发掘出来。为此,设计者可先将自己作为使用者来考虑:这个聊天程序需要作些啥?比方,要可以显示聊天记录;要能设置自动回复功能中的回复内容(或可以预设多条回复,依据需要选择要回复的内容);暂时脱离时可以设置一个简单的留言功能,并告诉对方可以留言等。这一步应当是最具立异性的工作,鼓励验者在终结基本需要的状况下进行立异考虑,幻想出更新的聊天需要。(2)依据上一步的工作,终结聊天程序的功能设计,比方聊天程序运行今后,要有能设置对方IP地址和端口号的功能,要有能选择底层协议的功能:是用UDP还是TCP协议进行通信,假如使用TCP还应当设置一个连接功能,当有对方信息抵达是不是应当提示聊天者等。这一步应当做到程序编制出来今后是如何使用的都应确定下来。

((1) The curriculum design command gives a relatively basic request. The experimenter should explore the potential needs of the command according to the command request. To this end, designers can first consider themselves as users: what does this chat program need to do? For example, you can display chat records; You must be able to set the reply content in the automatic reply function (or you can preset multiple replies, and select the content to reply as required); When you leave temporarily, you can set a simple message function and tell the other party to leave a message. This step should be the most innovative work, encouraging experimenters to think creatively when they end their basic needs and imagine new chat needs. (2) According to the work in the previous step, the function design of the chat program should be terminated. For example, in the future when the chat program runs, it should have the function of setting the IP address and port number of the other party, and it should have the function of selecting the underlying protocol: whether to use UDP or TCP protocol for communication. If you use TCP, you should also set a connection function. When the other party's information arrives, you should prompt the chater. In this step, it is necessary to determine how the program will be used in the future.)

[下载]19142663984.rar




上一篇:JVM详解
下一篇:教学视频+java核心技术精讲电子书