Ack

class Ack(var lastAcknowledgedPacketSequenceNumber: Int = 0, var rtt: Int = 0, var rttVariance: Int = 0, var availableBufferSize: Int = 0, var packetReceivingRate: Int = 0, var estimatedLinkCapacity: Int = 0, var receivingRate: Int = 0) : ControlPacket

Created by pedro on 22/8/23.

Constructors

Link copied to clipboard
constructor(lastAcknowledgedPacketSequenceNumber: Int = 0, rtt: Int = 0, rttVariance: Int = 0, availableBufferSize: Int = 0, packetReceivingRate: Int = 0, estimatedLinkCapacity: Int = 0, receivingRate: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var rtt: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var ts: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun read(input: InputStream)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun write(ts: Int, socketId: Int)