diff --git a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java index 789258f92..e0163f16b 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java @@ -318,7 +318,7 @@ public class Connection { public byte[] getSendStreamId() { return _sendStreamId; } public void setSendStreamId(byte[] id) { _sendStreamId = id; } - /** what stream does the peer send data to us on? (may be null) */ + /** stream the peer sends data to us on. (may be null) */ public byte[] getReceiveStreamId() { return _receiveStreamId; } public void setReceiveStreamId(byte[] id) { _receiveStreamId = id; } @@ -343,9 +343,9 @@ public class Connection { public ConnectionPacketHandler getPacketHandler() { return _handler; } /** - * when does the scheduler next want to send a packet? -1 if never. - * This should be set when we want to send on timeout, for instance, or - * want to delay an ACK. + * Time when the scheduler next want to send a packet, or -1 if + * never. This should be set when we want to send on timeout, for + * instance, or want to delay an ACK. */ public long getNextSendTime() { return _nextSendTime; } public void setNextSendTime(long when) { diff --git a/apps/streaming/java/src/net/i2p/client/streaming/MessageOutputStream.java b/apps/streaming/java/src/net/i2p/client/streaming/MessageOutputStream.java index 784a8de7b..10e43c25a 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/MessageOutputStream.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/MessageOutputStream.java @@ -191,7 +191,7 @@ public class MessageOutputStream extends OutputStream { * which we throttle rather than accept arbitrary data and queue */ public void waitForAccept(int maxWaitMs); - /** was the write accepted? aka did the socket not close? */ + /** the write was accepted. aka did the socket not close? */ public boolean writeAccepted(); /** did the write fail? */ public boolean writeFailed(); diff --git a/apps/streaming/java/src/net/i2p/client/streaming/Packet.java b/apps/streaming/java/src/net/i2p/client/streaming/Packet.java index 7df101e09..9a475d3ee 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/Packet.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/Packet.java @@ -11,13 +11,13 @@ import net.i2p.data.SigningPrivateKey; /** * Contain a single packet transferred as part of a streaming connection. * The data format is as follows:
If the signature is included, it uses the Destination's DSA key @@ -149,7 +149,7 @@ public class Packet { } /** - * what is the stream replies should be sent on? if the + * Stream that replies should be sent on. if the * connection is still being built, this should be * null. * @@ -171,8 +171,8 @@ public class Packet { public void setSequenceNum(long num) { _sequenceNum = num; } /** - * what is the highest packet sequence number that received - * on the receiveStreamId? This field is ignored on the initial + * The highest packet sequence number that received + * on the receiveStreamId. This field is ignored on the initial * connection packet (where receiveStreamId is the unknown id). * */ @@ -180,8 +180,8 @@ public class Packet { public void setAckThrough(long id) { _ackThrough = id; } /** - * What packet sequence numbers below the getAckThrough() value - * have not been received? this may be null. + * List of packet sequence numbers below the getAckThrough() value + * have not been received. this may be null. * */ public long[] getNacks() { return _nacks; } diff --git a/apps/streaming/java/src/net/i2p/client/streaming/SchedulerConnecting.java b/apps/streaming/java/src/net/i2p/client/streaming/SchedulerConnecting.java index 98fd92cc9..45cfc1d3a 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/SchedulerConnecting.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/SchedulerConnecting.java @@ -19,7 +19,7 @@ import net.i2p.util.Log; *