blob: b08ff98cf8f4ad9a11dde6bfe4be72177806b28b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package derms.net.runicast;
import java.io.Serializable;
class ControlMessage implements Serializable {
final Type type;
final int id; // One greater than the sequence number of the highest sent data message.
final int ack; // Last in-sequence data message received by the transmitter of the message.
ControlMessage(Type type, int id, int ack) {
this.type = type;
this.id = id;
this.ack = ack;
}
}
|