# DropReq

class DropReq(var messageNumber: Int = 0, var firstPacketSequenceNumber: Int = 0, var lastPacketSequenceNumber: Int = 0) : ControlPacket

Created by pedro on 22/8/23.

## Constructors

DropReq
Link copied to clipboard
constructor(messageNumber: Int = 0, firstPacketSequenceNumber: Int = 0, lastPacketSequenceNumber: Int = 0)

## Properties

buffer
Link copied to clipboard
var buffer: ByteArrayOutputStream
controlType
Link copied to clipboard
var controlType: ControlType
firstPacketSequenceNumber
Link copied to clipboard
var firstPacketSequenceNumber: Int
lastPacketSequenceNumber
Link copied to clipboard
var lastPacketSequenceNumber: Int
messageNumber
Link copied to clipboard
var messageNumber: Int
socketId
Link copied to clipboard
var socketId: Int
subtype
Link copied to clipboard
var subtype: ControlType
ts
Link copied to clipboard
var ts: Int
typeSpecificInformation
Link copied to clipboard
var typeSpecificInformation: Int

## Functions

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