summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/btr/proxy/search/ProxySearchStrategy.java
blob: 6f14c280300c451cd9c19d9d80ca70add16326e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.btr.proxy.search;

import java.net.ProxySelector;

import com.btr.proxy.util.ProxyException;

/*****************************************************************************
 * Interface for a proxy search strategy.
 *
 * @author Bernd Rosstauscher (proxyvole@rosstauscher.de) Copyright 2009
 ****************************************************************************/

public interface ProxySearchStrategy {

	/*************************************************************************
	 * Gets the a ProxySelector found by applying the search strategy.
	 * @return a ProxySelector, null if none is found.
	 ************************************************************************/
	
	public ProxySelector getProxySelector() throws ProxyException;
	
}