⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pingreplyevent.java

📁 Java p2p程序设计2002年版
💻 JAVA
字号:
package net.jxta.impl.shell.bin.ping;import java.util.*;/** * Extends PingEvent to include the first leg differential as a message component. */public class PingReplyEvent extends PingEvent {        long time = 0;        public PingReplyEvent(Object source, long diff, long otime, long atime, String name) {        super(source,name,otime,atime);        this.time = diff;    }           /**     * @return Returns the time differential between the sender     * and receiver of the previous leg of a ping.     */    public long getPriorDifferential() {        return time;    }    }

⌨️ 快捷键说明

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