public class FirstOnionRouterConnectionFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Vector |
m_firstOnionRouters |
private Tor |
m_Tor |
Constructor and Description |
---|
FirstOnionRouterConnectionFactory(Tor a_Tor)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
closeAll()
Closes all connections to all FirstOnionRouters
|
FirstOnionRouterConnection |
createFirstOnionRouterConnection(ORDescriptor d)
creates a FOR with the given description if it doesn't exist. else it returns a existing FOR
|
private java.util.Vector m_firstOnionRouters
private Tor m_Tor
public FirstOnionRouterConnectionFactory(Tor a_Tor)
a_Tor
- a tor instancepublic FirstOnionRouterConnection createFirstOnionRouterConnection(ORDescriptor d)
d
- description of a FORpublic void closeAll()
Copyright © 2023. All rights reserved.