Package com.wowza.wms.transport.mpeg2
Class MPEG2TableAssembler
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
-
- All Implemented Interfaces:
IMPEG2SectionListener
- Direct Known Subclasses:
MPEG2PATAssembler
,MPEG2PMTAssembler
public abstract class MPEG2TableAssembler extends Object implements IMPEG2SectionListener
The Class mpeg2TableAssembler.
-
-
Field Summary
Fields Modifier and Type Field Description int
currentVersion
The current version.boolean
deliver
The deliver.static int
INVALID
The Constant INVALID.protected java.util.Map<Integer,MPEG2Section>
sections
The sections.
-
Constructor Summary
Constructors Constructor Description MPEG2TableAssembler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
adaptationHeader(AdaptationField field)
Adaptation header.abstract void
buildTable()
Builds the table.String
getShortClassName()
getShortClassName returns just the class name instead of the com.wms.xxx.xx.classNameboolean
headerNotify(MPEG2Section section)
Header notify.void
sectionNotify(MPEG2Section section, boolean continuityError)
Section notify.abstract boolean
tableExist()
Table exist.abstract int
tableVersion()
Table version.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.wowza.wms.transport.mpeg2.IMPEG2SectionListener
logDebug, logError, logError, logFatal, logInfo, logThrottleDoLog, logWarn
-
-
-
-
Field Detail
-
INVALID
public static final int INVALID
The Constant INVALID.- See Also:
- Constant Field Values
-
deliver
public boolean deliver
The deliver.
-
sections
protected java.util.Map<Integer,MPEG2Section> sections
The sections.
-
currentVersion
public int currentVersion
The current version.
-
-
Method Detail
-
headerNotify
public boolean headerNotify(MPEG2Section section)
Description copied from interface:IMPEG2SectionListener
Header notify.- Specified by:
headerNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the section- Returns:
- true, if successful
-
sectionNotify
public void sectionNotify(MPEG2Section section, boolean continuityError)
Description copied from interface:IMPEG2SectionListener
Section notify.- Specified by:
sectionNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the sectioncontinuityError
- the continuity error
-
getShortClassName
public String getShortClassName()
getShortClassName returns just the class name instead of the com.wms.xxx.xx.className
-
adaptationHeader
public abstract void adaptationHeader(AdaptationField field)
Description copied from interface:IMPEG2SectionListener
Adaptation header.- Specified by:
adaptationHeader
in interfaceIMPEG2SectionListener
- Parameters:
field
- the field
-
tableExist
public abstract boolean tableExist()
Table exist.- Returns:
- true, if successful
-
tableVersion
public abstract int tableVersion()
Table version.- Returns:
- the int
-
buildTable
public abstract void buildTable()
Builds the table.
-
-