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

📄 rpiprange.java

📁 java 文件下载器。可自定义
💻 JAVA
字号:
// 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:   RPIPRange.java

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

import org.gudy.azureus2.plugins.ipfilter.IPRange;
import org.gudy.azureus2.pluginsimpl.remote.*;

public class RPIPRange extends RPObject
	implements IPRange
{

	protected transient IPRange delegate;
	public String description;
	public String start_ip;
	public String end_ip;

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

	protected RPIPRange(IPRange _delegate)
	{
		super(_delegate);
	}

	protected void _setDelegate(Object _delegate)
	{
		delegate = (IPRange)_delegate;
		description = delegate.getDescription();
		start_ip = delegate.getStartIP();
		end_ip = delegate.getEndIP();
	}

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

	public RPReply _process(RPRequest request)
	{
		String method = request.getMethod();
		if (method.equals("delete"))
		{
			delegate.delete();
			return null;
		} else
		{
			throw new RPException((new StringBuilder()).append("Unknown method: ").append(method).toString());
		}
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String str)
	{
		notSupported();
	}

	public void checkValid()
	{
		notSupported();
	}

	public boolean isValid()
	{
		notSupported();
		return false;
	}

	public boolean isSessionOnly()
	{
		notSupported();
		return false;
	}

	public String getStartIP()
	{
		return start_ip;
	}

	public void setStartIP(String str)
	{
		notSupported();
	}

	public String getEndIP()
	{
		return end_ip;
	}

	public void setEndIP(String str)
	{
		notSupported();
	}

	public void setSessionOnly(boolean sessionOnly)
	{
		notSupported();
	}

	public boolean isInRange(String ipAddress)
	{
		notSupported();
		return false;
	}

	public void delete()
	{
		_dispatcher.dispatch(new RPRequest(this, "delete", null)).getResponse();
	}

	public int compareTo(Object other)
	{
		notSupported();
		return -1;
	}
}

⌨️ 快捷键说明

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