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 SummaryFields Modifier and Type Field Description intcurrentVersionThe current version.booleandeliverThe deliver.static intINVALIDThe Constant INVALID.protected java.util.Map<Integer,MPEG2Section>sectionsThe sections.
 - 
Constructor SummaryConstructors Constructor Description MPEG2TableAssembler()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidadaptationHeader(AdaptationField field)Adaptation header.abstract voidbuildTable()Builds the table.StringgetShortClassName()getShortClassName returns just the class name instead of the com.wms.xxx.xx.classNamebooleanheaderNotify(MPEG2Section section)Header notify.voidsectionNotify(MPEG2Section section, boolean continuityError)Section notify.abstract booleantableExist()Table exist.abstract inttableVersion()Table version.- 
Methods inherited from class java.lang.Objectclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.wowza.wms.transport.mpeg2.IMPEG2SectionListenerlogDebug, logError, logError, logFatal, logInfo, logThrottleDoLog, logWarn
 
- 
 
- 
- 
- 
Field Detail- 
INVALIDpublic static final int INVALID The Constant INVALID.- See Also:
- Constant Field Values
 
 - 
deliverpublic boolean deliver The deliver.
 - 
sectionsprotected java.util.Map<Integer,MPEG2Section> sections The sections.
 - 
currentVersionpublic int currentVersion The current version.
 
- 
 - 
Method Detail- 
headerNotifypublic boolean headerNotify(MPEG2Section section) Description copied from interface:IMPEG2SectionListenerHeader notify.- Specified by:
- headerNotifyin interface- IMPEG2SectionListener
- Parameters:
- section- the section
- Returns:
- true, if successful
 
 - 
sectionNotifypublic void sectionNotify(MPEG2Section section, boolean continuityError) Description copied from interface:IMPEG2SectionListenerSection notify.- Specified by:
- sectionNotifyin interface- IMPEG2SectionListener
- Parameters:
- section- the section
- continuityError- the continuity error
 
 - 
getShortClassNamepublic String getShortClassName() getShortClassName returns just the class name instead of the com.wms.xxx.xx.className
 - 
adaptationHeaderpublic abstract void adaptationHeader(AdaptationField field) Description copied from interface:IMPEG2SectionListenerAdaptation header.- Specified by:
- adaptationHeaderin interface- IMPEG2SectionListener
- Parameters:
- field- the field
 
 - 
tableExistpublic abstract boolean tableExist() Table exist.- Returns:
- true, if successful
 
 - 
tableVersionpublic abstract int tableVersion() Table version.- Returns:
- the int
 
 - 
buildTablepublic abstract void buildTable() Builds the table.
 
- 
 
-