sys::Obj sox::ReceiveWindow
public class ReceiveWindow
ReceiveWindow manages the incoming message sequences and acknowledgements.
public static const define int max
public void init(int num)
Initialize the receive window with the handshake seqNum.
public bool receive(int num)
Receive the given sequence number. Return true if the message should be processed. Return false if outside of the receiving window or we have already processed it.
public void reset()
Reset into a clean state for new session.
public void setAckHeaders(SoxService service)
If add the ack and ackMore headers if needed.