javadoc fixes
This commit is contained in:
@ -16,7 +16,7 @@ import net.i2p.util.Log;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Listen to a destination, receiving any sockets and writing anything they
|
* Listen to a destination, receiving any sockets and writing anything they
|
||||||
* send to a new file.
|
* send to a new file. See the {@link #main}
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class StreamSinkServer {
|
public class StreamSinkServer {
|
||||||
|
@ -15,4 +15,10 @@ net.i2p.client.streaming.I2PServerSocket#accept} method, which will provide an
|
|||||||
{@link net.i2p.client.streaming.I2PSocket} when a new one is available. If an
|
{@link net.i2p.client.streaming.I2PSocket} when a new one is available. If an
|
||||||
application wants to create a new stream to a peer, it should do so with the
|
application wants to create a new stream to a peer, it should do so with the
|
||||||
appropriate {@link net.i2p.client.streaming.I2PSocketManager#connect} call.</p>
|
appropriate {@link net.i2p.client.streaming.I2PSocketManager#connect} call.</p>
|
||||||
|
|
||||||
|
<p>There is a simple pair of demo applications available as well - {@link
|
||||||
|
net.i2p.client.streaming.StreamSinkServer} listens to a destination and dumps
|
||||||
|
the data from all sockets it accepts to individual files, while {@link
|
||||||
|
net.i2p.client.streaming.StreamSinkClient} connects to a particular destination
|
||||||
|
and sends a specific amount of random data then disconnects.</p>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
Reference in New Issue
Block a user