# Package-level declarations

## Types

Ack
Link copied to clipboard
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.

Ack2
Link copied to clipboard
class Ack2(var acknowledgementNumber: Int = 0) : ControlPacket

Created by pedro on 22/8/23.

CongestionWarning
Link copied to clipboard
class CongestionWarning : ControlPacket

Created by pedro on 22/8/23.

ControlType
Link copied to clipboard
enum ControlType : Enum<ControlType>

Created by pedro on 21/8/23.

DropReq
Link copied to clipboard
class DropReq(var messageNumber: Int = 0, var firstPacketSequenceNumber: Int = 0, var lastPacketSequenceNumber: Int = 0) : ControlPacket

Created by pedro on 22/8/23.

KeepAlive
Link copied to clipboard
class KeepAlive : ControlPacket

Created by pedro on 22/8/23.

Nak
Link copied to clipboard
class Nak : ControlPacket

Created by pedro on 22/8/23.

PeerError
Link copied to clipboard
class PeerError(var errorCode: Int = 0) : ControlPacket

Created by pedro on 22/8/23.

Shutdown
Link copied to clipboard
class Shutdown : ControlPacket

Created by pedro on 22/8/23.