public class MixminionServiceDescription extends java.lang.Object implements AnonServerDescription
Modifier and Type | Field and Description |
---|---|
private int |
m_iRouteLen |
private java.lang.String |
m_myEmail |
Constructor and Description |
---|
MixminionServiceDescription(int routeLen,
java.lang.String myEmail)
Constucts a new MixminionServiceDescription object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMyEmail() |
int |
getRouteLen() |
void |
setRouteLen(int routeLen)
Sets the number of hops for the anonymous mail.
|
public MixminionServiceDescription(int routeLen, java.lang.String myEmail)
routeLen
- number of hops for the anonymous mailsetRouteLen(int)
public int getRouteLen()
public void setRouteLen(int routeLen)
routeLen
- number of hops for the anonymous mail. This number must be <= Mixminion.MAX_ROUTE_LEN
and
>=Mixminion.MIN_ROUTE_LEN
public java.lang.String getMyEmail()
Copyright © 2023. All rights reserved.