try{
PluginInterface pi = AzureusCoreFactory.getSingleton().getPluginManager().getPluginInterfaceByClass( DHTTrackerPlugin.class );
if ( pi != null ){
final DHTTrackerPlugin plugin = (DHTTrackerPlugin)pi.getPlugin();
new AEThread2( "LWS:waitForPlug", true )
{
public void
run()
{
try{
plugin.waitUntilInitialised();
if ( plugin.isRunning()){
tttorrent = DDBaseImpl.getSingleton(AzureusCoreFactory.getSingleton()).getTTTorrent();
}
Set to_add;