startup.java
来自「DSr project for the java applications」· Java 代码 · 共 24 行
JAVA
24 行
package dsr;import java.io.*;//this class starts the whole thing.. it calls the startServ with the DSR portpublic class StartUp implements Runnable{ public static TimerQueue timerQueue = new TimerQueue(); public static FloodIDQueue floodQueue = new FloodIDQueue(); public static EventQueue eventQueue = new EventQueue(); public static RouteTable routeTable = new RouteTable(); //public static NeighborList neighborList; public static InterfaceList intQueue = new InterfaceList(); //the main function public static void main(String args[]) throws IOException { Server.startServ(Const.DSRPORT); } public void run() { EventQueue.startDSR(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?