Methods Summary |
---|
protected long | _getConectionId()
return( _connection_id );
|
protected long | _getNextRequestId()
synchronized( this ){
return( request_id_next++ );
}
|
public RPReply | _process(RPRequest request)
String method = request.getMethod();
if ( method.equals( "getPluginProperties")){
// must copy properties as actual return is subtype + non serialisable
Properties p = new Properties();
Properties x = delegate.getPluginProperties();
Iterator it = x.keySet().iterator();
while(it.hasNext()){
Object key = it.next();
p.put( key, x.get(key));
}
return( new RPReply( p ));
}else if ( method.equals( "getDownloadManager")){
return( new RPReply( RPDownloadManager.create(delegate.getDownloadManager())));
}else if ( method.equals( "getTorrentManager")){
return( new RPReply( RPTorrentManager.create(delegate.getTorrentManager())));
}else if ( method.equals( "getPluginconfig")){
return( new RPReply( RPPluginConfig.create(delegate.getPluginconfig())));
}else if ( method.equals( "getIPFilter")){
return( new RPReply( RPIPFilter.create(delegate.getIPFilter())));
}else if ( method.equals( "getShortCuts")){
return( new RPReply( RPShortCuts.create(delegate.getShortCuts())));
}else if ( method.equals( "getTracker")){
return( new RPReply( RPTracker.create(delegate.getTracker())));
}
throw( new RPException( "Unknown method: " + method ));
|
protected void | _setDelegate(java.lang.Object _delegate)
delegate = (PluginInterface)_delegate;
|
public java.lang.Object | _setLocal()
return( _fixupLocal());
|
public void | addColumnToMyTorrentsTable(java.lang.String columnName, org.gudy.azureus2.plugins.ui.tables.mytorrents.PluginMyTorrentsItemFactory factory)
notSupported();
|
public void | addColumnToPeersTable(java.lang.String columnName, org.gudy.azureus2.plugins.ui.tables.peers.PluginPeerItemFactory factory)
notSupported();
|
public void | addConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection tab)
notSupported();
|
public void | addConfigUIParameters(org.gudy.azureus2.plugins.ui.config.Parameter[] parameters, java.lang.String displayName)
notSupported();
|
public void | addEventListener(PluginEventListener l)
notSupported();
|
public void | addListener(PluginListener l)
notSupported();
|
public void | addView(PluginView view)
notSupported();
|
public static org.gudy.azureus2.pluginsimpl.remote.RPPluginInterface | create(PluginInterface _delegate)
// **** Don't try using AEMOnitor for synchronisations here as this object is serialised
RPPluginInterface res =(RPPluginInterface)_lookupLocal( _delegate );
if ( res == null ){
res = new RPPluginInterface( _delegate );
}
return( res );
|
public void | firePluginEvent(PluginEvent event)
notSupported();
|
public java.lang.String | getAzureusName()
return( azureus_name );
|
public java.lang.String | getAzureusVersion()
return( azureus_version );
|
public org.gudy.azureus2.plugins.clientid.ClientIDManager | getClientIDManager()
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.ui.config.ConfigSection[] | getConfigSections()
// TODO Auto-generated method stub
return null;
|
public org.gudy.azureus2.plugins.network.ConnectionManager | getConnectionManager()
notSupported();
return null;
|
public org.gudy.azureus2.plugins.ddb.DistributedDatabase | getDistributedDatabase()
notSupported();
return null;
|
public org.gudy.azureus2.plugins.download.DownloadManager | getDownloadManager()
RPDownloadManager res = (RPDownloadManager)_dispatcher.dispatch( new RPRequest( this, "getDownloadManager", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public org.gudy.azureus2.plugins.ipc.IPCInterface | getIPC()
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.ipfilter.IPFilter | getIPFilter()
RPIPFilter res = (RPIPFilter)_dispatcher.dispatch( new RPRequest( this, "getIPFilter", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public PluginInterface | getLocalPluginInterface(java.lang.Class plugin, java.lang.String id)
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.logging.Logger | getLogger()
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.messaging.MessageManager | getMessageManager()
notSupported();
return null;
|
public org.gudy.azureus2.plugins.peers.protocol.PeerProtocolManager | getPeerProtocolManager()
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.platform.PlatformManager | getPlatformManager()
notSupported();
return null;
|
public Plugin | getPlugin()
notSupported();
return( null );
|
public java.lang.ClassLoader | getPluginClassLoader()
notSupported();
return( null );
|
public org.gudy.azureus2.plugins.ui.config.PluginConfigUIFactory | getPluginConfigUIFactory()
notSupported();
return( null );
|
public java.lang.String | getPluginDirectoryName()
notSupported();
return( null );
|
public java.lang.String | getPluginID()
notSupported();
return( null );
|
public PluginManager | getPluginManager()
notSupported();
return( null );
|
public java.lang.String | getPluginName()
notSupported();
return( null );
|
public java.util.Properties | getPluginProperties()
return((Properties)_dispatcher.dispatch( new RPRequest( this, "getPluginProperties", null )).getResponse());
|
public java.lang.String | getPluginVersion()
notSupported();
return( null );
|
public PluginConfig | getPluginconfig()
RPPluginConfig res = (RPPluginConfig)_dispatcher.dispatch( new RPRequest( this, "getPluginconfig", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public org.gudy.azureus2.plugins.sharing.ShareManager | getShareManager()
notSupported();
return( null );
|
public ShortCuts | getShortCuts()
RPShortCuts res = (RPShortCuts)_dispatcher.dispatch( new RPRequest( this, "getShortCuts", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public org.gudy.azureus2.plugins.torrent.TorrentManager | getTorrentManager()
RPTorrentManager res = (RPTorrentManager)_dispatcher.dispatch( new RPRequest( this, "getTorrentManager", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public org.gudy.azureus2.plugins.tracker.Tracker | getTracker()
RPTracker res = (RPTracker)_dispatcher.dispatch( new RPRequest( this, "getTracker", null )).getResponse();
res._setRemote( _dispatcher );
return( res );
|
public UIManager | getUIManager()
notSupported();
return( null );
|
public UpdateManager | getUpdateManager()
notSupported();
return( null );
|
public Utilities | getUtilities()
notSupported();
return( null );
|
public boolean | isBuiltIn()
notSupported();
return( false );
|
public boolean | isDisabled()
notSupported();
return( false );
|
public boolean | isInitialisationThread()
notSupported();
return( false );
|
public boolean | isMandatory()
notSupported();
return( false );
|
public boolean | isOperational()
notSupported();
return( false );
|
public boolean | isShared()
notSupported();
return( false );
|
public boolean | isSigned()
notSupported();
return( false );
|
public boolean | isUnloadable()
notSupported();
return( false );
|
public void | openTorrentFile(java.lang.String fileName)
notSupported();
|
public void | openTorrentURL(java.lang.String url)
notSupported();
|
public void | reload()
notSupported();
|
public void | removeConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection tab)
notSupported();
|
public void | removeEventListener(PluginEventListener l)
notSupported();
|
public void | removeListener(PluginListener l)
notSupported();
|
public void | setDisabled(boolean disabled)
notSupported();
|
public void | uninstall()
notSupported();
|
public void | unload()
notSupported();
|