* updated output stream test to match new API

* new paired stream server and client helpers
This commit is contained in:
jrandom
2004-10-28 02:05:51 +00:00
committed by zzz
parent 48cdf17a4f
commit d5607ca195
3 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
package net.i2p.client.streaming;
import net.i2p.client.I2PClient;
/**
*
*/
public class StreamSinkTestServer {
public static void main(String args[]) {
System.setProperty(I2PSocketManagerFactory.PROP_MANAGER, I2PSocketManagerFull.class.getName());
//System.setProperty(I2PClient.PROP_TCP_HOST, "dev.i2p.net");
//System.setProperty(I2PClient.PROP_TCP_PORT, "4101");
System.setProperty("tunnels.depthInbound", "0");
new Thread(new Runnable() {
public void run() {
StreamSinkServer.main(new String[] { "streamSinkTestLiveDir", "streamSinkTestLiveServer.key" });
}
}, "server").start();
}
}