FileDocCategorySizeDatePackage
PEPeerSource.javaAPI DocAzureus 3.0.3.42415Thu Feb 09 19:42:50 GMT 2006org.gudy.azureus2.core3.peer

PEPeerSource

public class PEPeerSource extends Object
author
parg

Fields Summary
public static final String
PS_BT_TRACKER
Class to enumerate the sources of peer connections
public static final String
PS_DHT
public static final String
PS_OTHER_PEER
public static final String
PS_PLUGIN
public static final String
PS_INCOMING
public static final String[]
PS_SOURCES
Constructors Summary
Methods Summary
public static java.lang.String[]getPeerSources()


	  
	
	
		List	res = new ArrayList();
		
		for (int i=0;i<PS_SOURCES.length;i++){
			
			if ( COConfigurationManager.getBooleanParameter( "Peer Source Selection Default." + PS_SOURCES[i])){
		
				res.add( PS_SOURCES[i]);
			}
		}
	
		String[]	x = new String[res.size()];
	
		res.toArray( x );
	
		return( x );