public class CircuitPathChooser extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Router> |
chooseDirectoryPath() |
Router |
chooseEntryNode(Set<Router> excludedRouters) |
Router |
chooseExitNodeForTargets(List<ExitTarget> targets) |
List<Router> |
chooseInternalPath() |
List<Router> |
choosePathWithExit(Router exitRouter) |
List<Router> |
choosePathWithFinal(Router finalRouter) |
static CircuitPathChooser |
create(TorConfig config,
Directory directory) |
void |
enableEntryGuards(EntryGuards entryGuards) |
public static CircuitPathChooser create(TorConfig config, Directory directory)
public void enableEntryGuards(EntryGuards entryGuards)
public List<Router> chooseDirectoryPath() throws InterruptedException
InterruptedExceptionpublic List<Router> chooseInternalPath() throws InterruptedException, PathSelectionFailedException
public List<Router> choosePathWithExit(Router exitRouter) throws InterruptedException, PathSelectionFailedException
public List<Router> choosePathWithFinal(Router finalRouter) throws InterruptedException, PathSelectionFailedException
public Router chooseEntryNode(Set<Router> excludedRouters) throws InterruptedException
InterruptedExceptionpublic Router chooseExitNodeForTargets(List<ExitTarget> targets)
Copyright © 2015. All rights reserved.