FileDocCategorySizeDatePackage
RPDiskManagerFileInfo.javaAPI DocAzureus 3.0.3.44211Wed Apr 12 10:48:56 BST 2006org.gudy.azureus2.pluginsimpl.remote.disk

RPDiskManagerFileInfo

public class RPDiskManagerFileInfo extends org.gudy.azureus2.pluginsimpl.remote.RPObject implements org.gudy.azureus2.plugins.disk.DiskManagerFileInfo

Fields Summary
protected transient org.gudy.azureus2.plugins.disk.DiskManagerFileInfo
delegate
public int
access_mode
public long
downloaded
public long
length
public File
file
public int
first_piece_number
public int
num_pieces
public boolean
is_priority
public boolean
is_skipped
Constructors Summary
protected RPDiskManagerFileInfo(org.gudy.azureus2.plugins.disk.DiskManagerFileInfo _delegate)

		super( _delegate );
	
Methods Summary
public org.gudy.azureus2.pluginsimpl.remote.RPReply_process(org.gudy.azureus2.pluginsimpl.remote.RPRequest request)

		String	method = request.getMethod();	

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

		delegate = (DiskManagerFileInfo)_delegate;
		
		access_mode				= delegate.getAccessMode();
		downloaded				= delegate.getDownloaded();
		length					= delegate.getLength();
		file					= delegate.getFile();
		first_piece_number		= delegate.getFirstPieceNumber();
		num_pieces				= delegate.getNumPieces();
		is_priority				= delegate.isPriority();
		is_skipped				= delegate.isSkipped();
	
public java.lang.Object_setLocal()

		return( _fixupLocal());
	
public static org.gudy.azureus2.pluginsimpl.remote.disk.RPDiskManagerFileInfocreate(org.gudy.azureus2.plugins.disk.DiskManagerFileInfo _delegate)

		RPDiskManagerFileInfo	res =(RPDiskManagerFileInfo)_lookupLocal( _delegate );
		
		if ( res == null ){
			
			res = new RPDiskManagerFileInfo( _delegate );
		}
		
		return( res );
	
public org.gudy.azureus2.plugins.disk.DiskManagerChannelcreateChannel()

		notSupported();
		
		return( null );		
	
public intgetAccessMode()

		return( access_mode );
	
public org.gudy.azureus2.plugins.download.DownloadgetDownload()

		notSupported();
		
		return( null );
    
public longgetDownloaded()

		return( downloaded );
	
public java.io.FilegetFile()

		return( file );
	
public intgetFirstPieceNumber()

		return( first_piece_number );
	
public intgetIndex()

		notSupported();
		
		return( -1 );
	
public longgetLength()

		return( length );
	
public java.io.FilegetLink()

		notSupported();
		
		return( null );
	
public intgetNumPieces()

		return( num_pieces );
	
public booleanisDeleted()

		notSupported();
		
		return( false );
	
public booleanisPriority()

		return( is_priority );
	
public booleanisSkipped()

		return( is_skipped );
	
public voidsetDeleted(boolean b)

		notSupported();
	
public voidsetLink(java.io.File link_destination)

		notSupported();
	
public voidsetPriority(boolean b)

		notSupported();
	
public voidsetSkipped(boolean b)

		notSupported();