|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.client.streaming.StreamSinkClient
public class StreamSinkClient
Simple streaming lib test app that connects to a given destination and sends
it a particular amount of random data, then disconnects. See the main(java.lang.String[])
Constructor Summary | |
---|---|
StreamSinkClient(int sendSize,
int writeDelayMs,
java.lang.String serverDestFile)
Build the client but don't fire it up. |
|
StreamSinkClient(java.lang.String i2cpHost,
int i2cpPort,
int sendSize,
int writeDelayMs,
java.lang.String serverDestFile)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Fire up the client. |
void |
runClient()
Actually connect and run the client - this call blocks until completion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamSinkClient(int sendSize, int writeDelayMs, java.lang.String serverDestFile)
sendSize
- how many KB to sendwriteDelayMs
- how long to wait between each .write (0 for no delay)serverDestFile
- file containing the StreamSinkServer's binary Destinationpublic StreamSinkClient(java.lang.String i2cpHost, int i2cpPort, int sendSize, int writeDelayMs, java.lang.String serverDestFile)
Method Detail |
---|
public void runClient()
public static void main(java.lang.String[] args)
Usage: StreamSinkClient [i2cpHost i2cpPort] sendSizeKB writeDelayMs serverDestFile [concurrentSends]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |