📄 serverinfo.java
字号:
package edu.odu.cs.zeil.AlgAE.Server;import edu.odu.cs.zeil.AlgAE.Application;import edu.odu.cs.zeil.AlgAE.Server.Server;/** * The thread within which the AlgAE server is launched. * This provides access (via Thread.currentThread()) to the * application-specific structures. * * @author Steven J Zeil **/public class ServerThread extends Thread{ private String title; private Server server; private Application application; ServerThread(String theTitle, Application applic, MessageIO serverIO) { title = theTitle; application = applic; server = new Server (serverIO); } Application getApplication() { return application; } Server getServer() { return server; } public void run() { server.run(title); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -