Class: FetchOk
FETCH_OK (0x18) keeps a body of its own rather than folding into REQUEST_OK, but like every other response it carries no Request ID: the request stream it arrives on identifies the request (§10.1).
Constructors
Constructor
new FetchOk(
endOfTrack,endLocation,parameters,trackProperties?):FetchOk
Parameters
endOfTrack
boolean
endLocation
The last Location the response covers, inclusive. Object 2^64-1 is all of that group.
parameters
trackProperties?
TrackProperty[] = []
Returns
FetchOk
Properties
endLocation
readonlyendLocation:Location
The last Location the response covers, inclusive. Object 2^64-1 is all of that group.
endOfTrack
readonlyendOfTrack:boolean
parameters
readonlyparameters:MessageParameter[]
trackProperties
readonlytrackProperties:TrackProperty[] =[]
Methods
getType()
getType():
ControlMessageType
Returns
serialize()
serialize():
FrozenByteBuffer
Returns
parsePayload()
staticparsePayload(buf):FetchOk
Parameters
buf
Returns
FetchOk