anon.mixminion.message
Class Message
java.lang.Object
anon.mixminion.message.Message
public class Message
- extends java.lang.Object
- Author:
- Jens Kempe, Stefan Roenisch
Constructor Summary |
Message(EMail email,
int hops,
java.lang.String myadress,
java.lang.String password,
int rbs)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_email
private EMail m_email
m_hops
private int m_hops
m_address
private java.lang.String m_address
m_decoded
private java.lang.String m_decoded
m_keyringpassword
private java.lang.String m_keyringpassword
m_rbs
private int m_rbs
MAX_FRAGMENTS_PER_CHUNK
int MAX_FRAGMENTS_PER_CHUNK
EXP_FACTOR
double EXP_FACTOR
Message
public Message(EMail email,
int hops,
java.lang.String myadress,
java.lang.String password,
int rbs)
- Constructor
send
public boolean send()
encodeMessage
boolean encodeMessage()
sendToMixMinionServer
private boolean sendToMixMinionServer(byte[] message,
MMRDescription description)
- Send a message to the specified MMR
- Parameters:
message
- description
-
- Returns:
- true if sended successfully
ceilDiv
private int ceilDiv(double a,
double b)
- rechte die Ganzzahl aus, welche groesser als a/b ist
- Parameters:
a
- b
-
- Returns:
getDecoded
public java.lang.String getDecoded()