package org.limewire.rudp.messages; /** * Defines an interface for an ACK message. */ public interface AckMessage extends RUDPMessage { /** * The windowStart is equivalent to the lowest un-received sequenceNumber * coming from the receiving end of the connection. It is saying, I have * received everything up to one minus this. (Note: it rolls). */ public long getWindowStart(); /** * Extend the windowStart of incoming messages with the full 8 bytes * of state. */ public void extendWindowStart(long wStart); /** * The windowSpace is a measure of how much more data the receiver can * receive within its buffer. This number will go to zero if the * application on the receiving side is reading data slowly. If it goes * to zero then the sender should stop sending. */ public int getWindowSpace(); }