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

📄 dhtrouterobserver.java

📁 这是我模仿window自带的小游戏扫雷编的,很简单,只实现了扫雷的基本功能,现拿出来与大家分享!
💻 JAVA
字号:
package com.aelitis.azureus.core.dht.router;

import com.aelitis.azureus.core.dht.router.DHTRouterContact;

/**
 * Observer interface to allow monitoring of contacts in the routing table.
 * 
 * @author Michael Parker
 */
public interface DHTRouterObserver {
	/**
	 * Observer method invoked when a contact is added to the routing table.
	 * 
	 * @param contact
	 * the added contact
	 */
	public void added(DHTRouterContact contact);
	
	/**
	 * Observer method invoked when a contact is removed from the routing table.
	 * 
	 * @param contact
	 * the removed contact
	 */
	public void removed(DHTRouterContact contact);
	
	/**
	 * Observer method invoked when a contact changes between a bucket entry and a
	 * replacement in the routing table.
	 * 
	 * @param contact
	 * the contact that changed location
	 */
	public void locationChanged(DHTRouterContact contact);
	
	/**
	 * Observer method invoked when a contact is found to be alive.
	 * 
	 * @param contact
	 * the contact now alive
	 */
	public void nowAlive(DHTRouterContact contact);
	
	/**
	 * Observer method invoked when a contact is found to be failing.
	 * 
	 * @param contact
	 * the contact now failing
	 */
	public void nowFailing(DHTRouterContact contact);
	
	/**
	 * Router is not longer in use
	 * @param router
	 */
	
	public void
	destroyed(
		DHTRouter	router );
}

⌨️ 快捷键说明

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