anon.mixminion
Class MixminionServiceDescription
java.lang.Object
anon.mixminion.MixminionServiceDescription
- All Implemented Interfaces:
- AnonServerDescription
public class MixminionServiceDescription
- extends java.lang.Object
- implements AnonServerDescription
Holder for the neseccary information to setup the Mixmion service.
Constructor Summary |
MixminionServiceDescription(int routeLen,
java.lang.String myEmail)
Constucts a new MixminionServiceDescription object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_iRouteLen
private int m_iRouteLen
m_myEmail
private java.lang.String m_myEmail
MixminionServiceDescription
public MixminionServiceDescription(int routeLen,
java.lang.String myEmail)
- Constucts a new MixminionServiceDescription object.
- Parameters:
routeLen
- number of hops for the anonymous mail- See Also:
setRouteLen(int)
getRouteLen
public int getRouteLen()
setRouteLen
public void setRouteLen(int routeLen)
- Sets the number of hops for the anonymous mail.
- Parameters:
routeLen
- number of hops for the anonymous mail. This number must be <= Mixminion.MAX_ROUTE_LEN
and
>=Mixminion.MIN_ROUTE_LEN
getMyEmail
public java.lang.String getMyEmail()
- Returns:
- the in the config specified address, if no one is specified the default value is ""