toggle menu
RootEncoder
androidJvm
switch theme
search in API
srt
/
com.pedro.srt.srt.packets.control
/
DropReq
Drop
Req
class
DropReq
(
var
messageNumber
:
Int
=
0
,
var
firstPacketSequenceNumber
:
Int
=
0
,
var
lastPacketSequenceNumber
:
Int
=
0
)
:
ControlPacket
Created by pedro on 22/8/23.
Members
Constructors
Drop
Req
Link copied to clipboard
constructor
(
messageNumber
:
Int
=
0
,
firstPacketSequenceNumber
:
Int
=
0
,
lastPacketSequenceNumber
:
Int
=
0
)
Properties
buffer
Link copied to clipboard
var
buffer
:
ByteArrayOutputStream
control
Type
Link copied to clipboard
var
controlType
:
ControlType
first
Packet
Sequence
Number
Link copied to clipboard
var
firstPacketSequenceNumber
:
Int
last
Packet
Sequence
Number
Link copied to clipboard
var
lastPacketSequenceNumber
:
Int
message
Number
Link copied to clipboard
var
messageNumber
:
Int
socket
Id
Link copied to clipboard
var
socketId
:
Int
subtype
Link copied to clipboard
var
subtype
:
ControlType
ts
Link copied to clipboard
var
ts
:
Int
type
Specific
Information
Link copied to clipboard
var
typeSpecificInformation
:
Int
Functions
get
Data
Link copied to clipboard
fun
getData
(
)
:
ByteArray
read
Link copied to clipboard
fun
read
(
input
:
InputStream
)
reset
Buffer
Link copied to clipboard
fun
resetBuffer
(
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
write
Link copied to clipboard
fun
write
(
ts
:
Int
,
socketId
:
Int
)