anon.mixminion
Class MixminionServiceDescription

java.lang.Object
  extended by 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.


Field Summary
private  int m_iRouteLen
           
private  java.lang.String m_myEmail
           
 
Constructor Summary
MixminionServiceDescription(int routeLen, java.lang.String myEmail)
          Constucts a new MixminionServiceDescription object.
 
Method Summary
 java.lang.String getMyEmail()
           
 int getRouteLen()
           
 void setRouteLen(int routeLen)
          Sets the number of hops for the anonymous mail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_iRouteLen

private int m_iRouteLen

m_myEmail

private java.lang.String m_myEmail
Constructor Detail

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)
Method Detail

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 ""