Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
SessionCommandFragment() |
SessionCommandFragment(int commandId,
RangeSet byteRanges) |
Modifier and Type | Method and Description |
---|---|
SessionCommandFragment |
byteRanges(RangeSet value) |
SessionCommandFragment |
commandId(int value) |
RangeSet |
getByteRanges() |
int |
getCommandId() |
byte |
getEncodedTrack() |
Map<String,Object> |
getFields() |
int |
getPackWidth() |
int |
getSizeWidth() |
int |
getStructType() |
boolean |
hasPayload() |
boolean |
isConnectionControl() |
void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
SessionCommandFragment |
setByteRanges(RangeSet value) |
SessionCommandFragment |
setCommandId(int value) |
void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
public static final int TYPE
public SessionCommandFragment()
public SessionCommandFragment(int commandId, RangeSet byteRanges)
public final int getStructType()
getStructType
in class Struct
public final int getSizeWidth()
getSizeWidth
in class Struct
public final int getPackWidth()
getPackWidth
in class Struct
public final boolean hasPayload()
public final byte getEncodedTrack()
public final boolean isConnectionControl()
public final int getCommandId()
public final SessionCommandFragment setCommandId(int value)
public final SessionCommandFragment commandId(int value)
public final RangeSet getByteRanges()
public final SessionCommandFragment setByteRanges(RangeSet value)
public final SessionCommandFragment byteRanges(RangeSet value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.