-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tonikelope
committed
Nov 22, 2017
1 parent
7faefbb
commit aa05fcb
Showing
5 changed files
with
119 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package megabasterd; | ||
|
||
import java.util.HashMap; | ||
import java.util.concurrent.ConcurrentHashMap; | ||
|
||
/** | ||
* | ||
* @author tonikelope | ||
*/ | ||
public class SmartMegaProxyManager implements Runnable { | ||
|
||
public static final int TIMEOUT = 15; | ||
private final String _proxy_list_url; | ||
private final ConcurrentHashMap<String, HashMap> _proxy_list; | ||
|
||
public SmartMegaProxyManager(String proxy_list_url) { | ||
_proxy_list_url = proxy_list_url; | ||
_proxy_list = new ConcurrentHashMap<>(); | ||
} | ||
|
||
public HashMap getRandomProxy() { | ||
|
||
return null; | ||
} | ||
|
||
@Override | ||
public void run() { | ||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. | ||
} | ||
|
||
} |