propagate from branch 'i2p.i2p.zzz.test' (head dc29b32afe515f704985a4f92cda6e28a65ccdc5)

to branch 'i2p.i2p' (head fb38016f22528778128e22269b8f256c8c640466)
This commit is contained in:
zzz
2010-01-17 13:42:33 +00:00
40 changed files with 1869 additions and 2054 deletions

View File

@ -16,7 +16,7 @@ package net.i2p;
public class CoreVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = "0.7.8";
public final static String VERSION = "0.7.9";
public static void main(String args[]) {
System.out.println("I2P Core version: " + VERSION);

View File

@ -48,7 +48,18 @@ public final class I2PDatagramMaker {
sxPrivKey = session.getPrivateKey();
sxDestBytes = session.getMyDestination().toByteArray();
}
/**
* Construct a new I2PDatagramMaker that is null.
* Use setI2PDatagramMaker to set the parameters.
*/
public I2PDatagramMaker() {
// nop
}
public void setI2PDatagramMaker(I2PSession session) {
sxPrivKey = session.getPrivateKey();
sxDestBytes = session.getMyDestination().toByteArray();
}
/**
* Make a repliable I2P datagram containing the specified payload.
*