rpdownloadannounceresult.java

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

JAVA
111
字号
// 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:   RPDownloadAnnounceResult.java

package org.gudy.azureus2.pluginsimpl.remote.download;

import java.net.URL;
import java.util.Map;
import org.gudy.azureus2.plugins.download.*;
import org.gudy.azureus2.pluginsimpl.remote.*;

public class RPDownloadAnnounceResult extends RPObject
	implements DownloadAnnounceResult
{

	protected transient DownloadAnnounceResult delegate;
	public int seed_count;
	public int non_seed_count;

	public static RPDownloadAnnounceResult create(DownloadAnnounceResult _delegate)
	{
		RPDownloadAnnounceResult res = (RPDownloadAnnounceResult)_lookupLocal(_delegate);
		if (res == null)
			res = new RPDownloadAnnounceResult(_delegate);
		return res;
	}

	protected RPDownloadAnnounceResult(DownloadAnnounceResult _delegate)
	{
		super(_delegate);
	}

	protected void _setDelegate(Object _delegate)
	{
		delegate = (DownloadAnnounceResult)_delegate;
		seed_count = delegate.getSeedCount();
		non_seed_count = delegate.getNonSeedCount();
	}

	public Object _setLocal()
		throws RPException
	{
		return _fixupLocal();
	}

	public RPReply _process(RPRequest request)
	{
		String method = request.getMethod();
		throw new RPException((new StringBuilder()).append("Unknown method: ").append(method).toString());
	}

	public Download getDownload()
	{
		notSupported();
		return null;
	}

	public int getResponseType()
	{
		notSupported();
		return 0;
	}

	public int getReportedPeerCount()
	{
		notSupported();
		return 0;
	}

	public int getSeedCount()
	{
		return seed_count;
	}

	public int getNonSeedCount()
	{
		return non_seed_count;
	}

	public String getError()
	{
		notSupported();
		return null;
	}

	public URL getURL()
	{
		notSupported();
		return null;
	}

	public DownloadAnnounceResultPeer[] getPeers()
	{
		notSupported();
		return null;
	}

	public long getTimeToWait()
	{
		notSupported();
		return 0L;
	}

	public Map getExtensions()
	{
		notSupported();
		return null;
	}
}

⌨️ 快捷键说明

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