Package com.wowza.wms.dvr
Class DvrManifestEntryRangeGroup
- Object
- 
- com.wowza.wms.dvr.DvrManifestEntryRangeGroup
 
- 
 public class DvrManifestEntryRangeGroup extends ObjectA group of Manifest Ranges. The group may contain ranges of different types.
- 
- 
Field SummaryFields Modifier and Type Field Description java.util.List<DvrManifestEntryRange>ranges
 - 
Constructor SummaryConstructors Constructor Description DvrManifestEntryRangeGroup()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRange(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()Serialize range groupStringtoString()
 
- 
- 
- 
Field Detail- 
rangespublic java.util.List<DvrManifestEntryRange> ranges 
 
- 
 - 
Method Detail- 
addRangepublic void addRange(DvrManifestEntryRange range) Add an index range to the group.- Parameters:
- range-
 
 - 
isInRangepublic boolean isInRange(int type, int index)Determine if index of given type is contained in the group of ranges.- Parameters:
- type- range type
- index- index in question
- Returns:
- true iof in range.
 
 - 
isEmptypublic boolean isEmpty() Determine if group of ranges is empty- Returns:
- true if empty
 
 - 
serializepublic byte[] serialize() Serialize range group- Returns:
- bytes representing range group
 
 - 
deserializepublic void deserialize(byte[] data) Deserialize. Called after no-op constructor.- Parameters:
- data- buffer to deserialize.
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 
- 
 
-