FileDocCategorySizeDatePackage
RPIPRange.javaAPI DocAzureus 3.0.3.43270Thu Feb 09 19:43:24 GMT 2006org.gudy.azureus2.pluginsimpl.remote.ipfilter

RPIPRange

public class RPIPRange extends RPObject implements IPRange
author
parg

Fields Summary
protected transient IPRange
delegate
public String
description
public String
start_ip
public String
end_ip
Constructors Summary
protected RPIPRange(IPRange _delegate)

		super( _delegate );
	
Methods Summary
public RPReply_process(RPRequest request)

		String	method = request.getMethod();	
		
		if ( method.equals( "delete")){
			
			delegate.delete();
			
			return( null );
		}

		throw( new RPException( "Unknown method: " + method ));
	
protected void_setDelegate(java.lang.Object _delegate)

		delegate = (IPRange)_delegate;
		
		description		= delegate.getDescription();
		start_ip		= delegate.getStartIP();	
		end_ip			= delegate.getEndIP();	
	
public java.lang.Object_setLocal()

		return( _fixupLocal());
	
public voidcheckValid()

		notSupported();
	
public intcompareTo(java.lang.Object other)

		notSupported();
		
		return( -1 );		
	
public static org.gudy.azureus2.pluginsimpl.remote.ipfilter.RPIPRangecreate(IPRange _delegate)

		RPIPRange	res =(RPIPRange)_lookupLocal( _delegate );
		
		if ( res == null ){
			
			res = new RPIPRange( _delegate );
		}
		
		return( res );
	
public voiddelete()

		_dispatcher.dispatch( new RPRequest( this, "delete", null )).getResponse();
	
public java.lang.StringgetDescription()

		return( description );
	
public java.lang.StringgetEndIP()

		return( end_ip );
	
public java.lang.StringgetStartIP()

		return( start_ip );
	
public booleanisInRange(java.lang.String ipAddress)

		notSupported();
		
		return( false );
	
public booleanisSessionOnly()

		notSupported();
		
		return( false );
	
public booleanisValid()

		notSupported();
		
		return( false );
	
public voidsetDescription(java.lang.String str)

		notSupported();
	
public voidsetEndIP(java.lang.String str)

		notSupported();
	
public voidsetSessionOnly(boolean sessionOnly)

		notSupported();
	
public voidsetStartIP(java.lang.String str)

		notSupported();