public class DvrManifestEntryRange
extends Object
| Constructor | Description |
|---|---|
DvrManifestEntryRange(int type,
long startIndex,
long endIndex) |
Construct a range of a given type.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
deserialize(byte[] data) |
Deserialize.
|
long |
getEndIndex() |
Get end index.
|
com.wowza.wms.dvr.IndexRange |
getRange() |
Get index range.
|
long |
getStartIndex() |
Get start index.
|
int |
getType() |
Get range type
|
boolean |
isEmpty() |
|
boolean |
isInRange(int index) |
Is index in range.
|
byte[] |
serialize() |
Serialize range.
|
void |
setRange(com.wowza.wms.dvr.IndexRange range) |
Set index range.
|
String |
toString() |
public DvrManifestEntryRange(int type,
long startIndex,
long endIndex)
type - manifest typestartIndex - initial member of rangeendIndex - final member of rangepublic void deserialize(byte[] data)
data - buffer to deserialize.public long getEndIndex()
public com.wowza.wms.dvr.IndexRange getRange()
public long getStartIndex()
public int getType()
public boolean isEmpty()
public boolean isInRange(int index)
index - index in question.public byte[] serialize()
public void setRange(com.wowza.wms.dvr.IndexRange range)
range - index range.public String toString()
toString in class Object