public class DirectoryCircuitImpl extends CircuitImpl implements DirectoryCircuit
logger, prechosenPathDASHBOARD_CIRCUITS, DASHBOARD_CONNECTIONS, DASHBOARD_CONNECTIONS_VERBOSE, DASHBOARD_PREDICTED_PORTS, DASHBOARD_STREAMS| Modifier | Constructor and Description |
|---|---|
protected |
DirectoryCircuitImpl(CircuitManagerImpl circuitManager,
List<Router> prechosenPath) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Router> |
choosePathForCircuit(CircuitPathChooser pathChooser) |
protected String |
getCircuitTypeLabel() |
Stream |
openDirectoryStream(long timeout,
boolean autoclose)
Open an anonymous connection to the directory service running on the
final node in this circuit.
|
appendNode, createNewStream, createNewStream, createRelayCell, dashboardRender, deliverControlCell, deliverRelayCell, destroyCircuit, getActiveStreams, getCircuitId, getConnection, getFinalCircuitNode, getSecondsDirty, isClean, isConnected, isMarkedForClose, isPending, markForClose, pathToString, processStreamOpenException, receiveRelayCell, removeStream, sendRelayCell, sendRelayCellToFinalNode, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendNode, createRelayCell, deliverControlCell, deliverRelayCell, destroyCircuit, getActiveStreams, getCircuitId, getConnection, getFinalCircuitNode, getSecondsDirty, isClean, isConnected, isMarkedForClose, isPending, markForClose, receiveRelayCell, sendRelayCellprotected DirectoryCircuitImpl(CircuitManagerImpl circuitManager, List<Router> prechosenPath)
public Stream openDirectoryStream(long timeout, boolean autoclose) throws InterruptedException, TimeoutException, StreamConnectFailedException
DirectoryCircuitopenDirectoryStream in interface DirectoryCircuittimeout - in millisecondsautoclose - if set to true, closing stream also marks this circuit for closeInterruptedExceptionTimeoutExceptionStreamConnectFailedExceptionprotected List<Router> choosePathForCircuit(CircuitPathChooser pathChooser) throws InterruptedException, PathSelectionFailedException
choosePathForCircuit in class CircuitImplInterruptedExceptionPathSelectionFailedExceptionprotected String getCircuitTypeLabel()
getCircuitTypeLabel in class CircuitImplCopyright © 2015. All rights reserved.