trhost.java

来自「java 文件下载器。可自定义」· Java 代码 · 共 52 行

JAVA
52
字号
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   TRHost.java

package org.gudy.azureus2.core3.tracker.host;

import org.gudy.azureus2.core3.torrent.TOTorrent;

// Referenced classes of package org.gudy.azureus2.core3.tracker.host:
//			TRHostException, TRHostTorrentFinder, TRHostTorrent, TRHostListener, 
//			TRHostAuthenticationListener

public interface TRHost
{

	public static final int DEFAULT_MIN_RETRY_DELAY = 120;
	public static final int DEFAULT_MAX_RETRY_DELAY = 3600;
	public static final int DEFAULT_INC_BY = 60;
	public static final int DEFAULT_INC_PER = 10;
	public static final int DEFAULT_SCRAPE_RETRY_PERCENTAGE = 200;
	public static final int DEFAULT_SCRAPE_CACHE_PERIOD = 5000;
	public static final int DEFAULT_ANNOUNCE_CACHE_PERIOD = 500;
	public static final int DEFAULT_ANNOUNCE_CACHE_PEER_THRESHOLD = 500;
	public static final int DEFAULT_PORT = 6969;
	public static final int DEFAULT_PORT_SSL = 7000;

	public abstract void initialise(TRHostTorrentFinder trhosttorrentfinder);

	public abstract String getName();

	public abstract TRHostTorrent hostTorrent(TOTorrent totorrent, boolean flag, boolean flag1)
		throws TRHostException;

	public abstract TRHostTorrent publishTorrent(TOTorrent totorrent)
		throws TRHostException;

	public abstract TRHostTorrent[] getTorrents();

	public abstract TRHostTorrent getHostTorrent(TOTorrent totorrent);

	public abstract void addListener(TRHostListener trhostlistener);

	public abstract void removeListener(TRHostListener trhostlistener);

	public abstract void addAuthenticationListener(TRHostAuthenticationListener trhostauthenticationlistener);

	public abstract void removeAuthenticationListener(TRHostAuthenticationListener trhostauthenticationlistener);

	public abstract void close();
}

⌨️ 快捷键说明

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