infotimer.java

来自「The source code for this package is loca」· Java 代码 · 共 33 行

JAVA
33
字号
/******************************************************************************** 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.instantmessaging;import java.util.*;import java.io.*;import java.net.*;import gov.nist.sip.instantmessaging.*;/** Class for killing the processes and restoring the ports. */public class InfoTimer extends TimerTask {        private ChatSession chatSession;         /**      */        public InfoTimer(ChatSession chatSession) {        this.chatSession=chatSession;    }    /**       */        public void  run() {          // WE reinitialize the text        chatSession.setInfo("");    }    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?