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 TypeMethodDescriptionvoid
addRange
(DvrManifestEntryRange range) Add an index range to the group.void
deserialize
(byte[] data) Deserialize.boolean
isEmpty()
Determine if group of ranges is emptyboolean
isInRange
(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
-