|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.tor.TorAnonServerDescription
public class TorAnonServerDescription
Field Summary | |
---|---|
private boolean |
m_bStartCircuitsAtStartup
|
private boolean |
m_bUseInfoService
|
private int |
m_iMaxConnectionsPerRoute
|
private int |
m_iMaxRouteLen
|
private int |
m_iMinRouteLen
|
private int |
m_iTorDirServerPort
|
private java.lang.String |
m_strTorDirServerAddr
|
Constructor Summary | |
---|---|
TorAnonServerDescription()
Constructor |
|
TorAnonServerDescription(boolean bUseInfoService)
Constructor |
|
TorAnonServerDescription(boolean bUseInfoService,
boolean bStartCircuitsAtStartup)
Constructor |
|
TorAnonServerDescription(java.lang.String torDirServerAddr,
int torDirServerPort,
boolean bStartCircuitsAtStartup)
Constructor |
Method Summary | |
---|---|
int |
getMaxConnectionsPerRoute()
|
int |
getMaxRouteLen()
|
int |
getMinRouteLen()
|
java.lang.String |
getTorDirServerAddr()
gets the address of the tor directory server |
int |
getTorDirServerPort()
gets the port of the tor directory server |
void |
setMaxConnectionsPerRoute(int i)
|
void |
setMaxRouteLen(int i)
|
void |
setMinRouteLen(int i)
|
void |
setTorDirServer(java.lang.String hostname,
int port)
|
boolean |
startCircuitsAtStartup()
gets if all circuits are created on startup |
boolean |
useInfoService()
gets if the infoservice is used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int m_iTorDirServerPort
private java.lang.String m_strTorDirServerAddr
private final boolean m_bUseInfoService
private final boolean m_bStartCircuitsAtStartup
private int m_iMaxRouteLen
private int m_iMinRouteLen
private int m_iMaxConnectionsPerRoute
Constructor Detail |
---|
public TorAnonServerDescription()
public TorAnonServerDescription(boolean bUseInfoService)
bUseInfoService
- use the info servicepublic TorAnonServerDescription(boolean bUseInfoService, boolean bStartCircuitsAtStartup)
bUseInfoService
- use the info servicebStartCircuitsAtStartup
- start all circuits at startuppublic TorAnonServerDescription(java.lang.String torDirServerAddr, int torDirServerPort, boolean bStartCircuitsAtStartup)
torDirServerAddr
- address of a tor directory servertorDirServerPort
- port of the tor directory serverbStartCircuitsAtStartup
- start all circuits at startupMethod Detail |
---|
public void setTorDirServer(java.lang.String hostname, int port)
public java.lang.String getTorDirServerAddr()
public int getTorDirServerPort()
public boolean useInfoService()
public boolean startCircuitsAtStartup()
public void setMaxRouteLen(int i)
public int getMaxRouteLen()
public void setMinRouteLen(int i)
public int getMinRouteLen()
public void setMaxConnectionsPerRoute(int i)
public int getMaxConnectionsPerRoute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |