?? stopproxy.java
字號:
/******************************************************************************** Product of NIST/ITL Advanced Networking Technologies Division (ANTD) ** Creator: O. Deruelle (deruelle@nist.gov) ** Questions/Comments: nist-sip-dev@antd.nist.gov ********************************************************************************/package gov.nist.sip.proxy;import java.util.*;import java.io.*;/** Class for stopping the proxy. */public class StopProxy extends TimerTask { private Proxy proxy; /** Constructor : * @param proxy */ public StopProxy(Proxy proxy) { this.proxy=proxy; } /** */ public void run() { ProxyDebug.println("Proxy trying to exit............. "); try { proxy.exit(); } catch(Exception e) { ProxyDebug.println("Proxy failed to exit........................."); e.printStackTrace(); } ProxyDebug.println(); } }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -