FileDocCategorySizeDatePackage
RPTorrent.javaAPI DocAzureus 3.0.3.45210Tue Mar 06 15:53:00 GMT 2007org.gudy.azureus2.pluginsimpl.remote.torrent

RPTorrent

public class RPTorrent extends RPObject implements Torrent
author
parg

Fields Summary
protected transient Torrent
delegate
public String
name
public long
size
public byte[]
hash
Constructors Summary
protected RPTorrent(Torrent _delegate)

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

		String	method = request.getMethod();
		
		/*
		 if ( method.equals( "getPluginProperties")){
		 
		 return( new RPReply( delegate.getPluginProperties()));
		 }
		 */
		
		throw( new RPException( "Unknown method: " + method ));
	
protected void_setDelegate(java.lang.Object _delegate)

		delegate = (Torrent)_delegate;
		
		name		= delegate.getName();
		size		= delegate.getSize();
		hash		= delegate.getHash();
	
public java.lang.Object_setLocal()

		return( _fixupLocal());
	
public static org.gudy.azureus2.pluginsimpl.remote.torrent.RPTorrentcreate(Torrent _delegate)

		RPTorrent	res =(RPTorrent)_lookupLocal( _delegate );
		
		if ( res == null ){
			
			res = new RPTorrent( _delegate );
		}
		
		return( res );
	
public java.lang.ObjectgetAdditionalProperty(java.lang.String name)

		notSupported();
		
		return(null);
	
public java.net.URLgetAnnounceURL()

		notSupported();
		
		return( null );
	
public TorrentAnnounceURLListgetAnnounceURLList()

		notSupported();
		
		return( null );
	
public java.lang.StringgetComment()

		notSupported();
		
		return(null);
	
public java.lang.StringgetCreatedBy()

		notSupported();
		
		return(null);
	
public longgetCreationDate()

		notSupported();
		
		return(0);
	
public java.lang.StringgetEncoding()

		notSupported();
		
		return( null );
	
public TorrentFile[]getFiles()

		notSupported();
		
		return(null);
	
public byte[]getHash()

		return( hash );
	
public java.net.URLgetMagnetURI()

		notSupported();
		
		return( null );
	
public java.util.MapgetMapProperty(java.lang.String name)

		notSupported();

		return( null );
	
public java.lang.StringgetName()

		return( name );
	
public longgetPieceCount()

		notSupported();
		
		return(0);
	
public longgetPieceSize()

		notSupported();
		
		return(0);
	
public byte[][]getPieces()

		notSupported();
		
		return(null);
	
public java.lang.StringgetPluginStringProperty(java.lang.String name)

		notSupported();
		
		return( null );
	
public longgetSize()

		return( size );
	
public booleanisComplete()

		notSupported();
		
		return( false );
	
public booleanisDecentralised()

		notSupported();
		
		return( false );
	
public booleanisDecentralisedBackupEnabled()

		notSupported();
		
		return( false );
	
public booleanisDecentralisedBackupRequested()

		notSupported();
		
		return( false );	
	
public booleanisPrivate()

		notSupported();
		
		return( false );
	
public TorrentremoveAdditionalProperties()

		notSupported();
		
		return( null );
	
public voidsave()

		notSupported();
	
public voidsetAnnounceURL(java.net.URL url)

		notSupported();
	
public voidsetComment(java.lang.String comment)

		notSupported();
	
public voidsetComplete(java.io.File data_dir)

		notSupported();
	
public voidsetDecentralisedBackupRequested(boolean requested)

		notSupported();		
	
public voidsetDefaultEncoding()

		notSupported();
	
public voidsetEncoding(java.lang.String encoding)

		notSupported();
	
public voidsetMapProperty(java.lang.String name, java.util.Map value)

		notSupported();
	
public voidsetPluginStringProperty(java.lang.String name, java.lang.String value)

		notSupported();
	
public voidsetPrivate(boolean priv)

		notSupported();
	
public booleanwasCreatedByUs()

		notSupported();
		
		return( false );
	
public byte[]writeToBEncodedData()

		notSupported();

		return( null );
	
public voidwriteToFile(java.io.File file)

		notSupported();
	
public java.util.MapwriteToMap()

		notSupported();

		return( null );