Package com.wowza.wms.dvr
Class DvrManifestEntryRangeGroup
Object
com.wowza.wms.dvr.DvrManifestEntryRangeGroup
A group of Manifest Ranges.
The group may contain ranges of different types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRange(DvrManifestEntryRange range) Add an index range to the group.voiddeserialize(byte[] data) Deserialize.booleanisEmpty()Determine if group of ranges is emptybooleanisInRange(int type, int index) Determine if index of given type is contained in the group of ranges.byte[]Serialize range grouptoString()
-
Field Details
-
ranges
-
-
Constructor Details
-
DvrManifestEntryRangeGroup
public DvrManifestEntryRangeGroup()
-
-
Method Details
-
addRange
Add an index range to the group.- Parameters:
range-
-
isInRange
public boolean isInRange(int type, int index) Determine if index of given type is contained in the group of ranges.- Parameters:
type- range typeindex- index in question- Returns:
- true iof in range.
-
isEmpty
public boolean isEmpty()Determine if group of ranges is empty- Returns:
- true if empty
-
serialize
public byte[] serialize()Serialize range group- Returns:
- bytes representing range group
-
deserialize
public void deserialize(byte[] data) Deserialize. Called after no-op constructor.- Parameters:
data- buffer to deserialize.
-
toString
-