Package com.wowza.wms.transport.mpeg2
Class MPEG2PATAssembler
- Object
- 
- com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
- 
- com.wowza.wms.transport.mpeg2.MPEG2PATAssembler
 
 
- 
- All Implemented Interfaces:
- IMPEG2SectionListener
 
 public class MPEG2PATAssembler extends MPEG2TableAssembler The Class mpeg2PATAssembler.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleandeliverSectionThe deliver section.java.util.List<IMPEG2StreamListener>listenersThe listeners.ProgramAssociationTablePATThe pat.static intPAT_PIDThe Constant PAT_PID.- 
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssemblercurrentVersion, deliver, INVALID, sections
 
- 
 - 
Constructor SummaryConstructors Constructor Description MPEG2PATAssembler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadaptationHeader(AdaptationField field)Adaptation header.voidbuildTable()Builds the table.booleanheaderNotify(MPEG2Section section)Header notify.voidlogDebug(String comment)voidlogError(String comment)voidlogError(String comment, Exception e)voidlogFatal(String comment)voidlogInfo(String comment)booleanlogThrottleDoLog()voidlogWarn(String comment)voidmonitorStart(IMPEG2StreamListener listener, MPEG2MPTS stream)Monitor start.voidmonitorStop(IMPEG2StreamListener listener)Monitor stop.booleantableExist()Table exist.inttableVersion()Table version.- 
Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssemblergetShortClassName, sectionNotify
 
- 
 
- 
- 
- 
Field Detail- 
PAT_PIDpublic static final int PAT_PID The Constant PAT_PID.- See Also:
- Constant Field Values
 
 - 
PATpublic ProgramAssociationTable PAT The pat.
 - 
listenerspublic java.util.List<IMPEG2StreamListener> listeners The listeners.
 - 
deliverSectionprotected boolean deliverSection The deliver section.
 
- 
 - 
Method Detail- 
adaptationHeaderpublic void adaptationHeader(AdaptationField field) Description copied from interface:IMPEG2SectionListenerAdaptation header.- Specified by:
- adaptationHeaderin interface- IMPEG2SectionListener
- Specified by:
- adaptationHeaderin class- MPEG2TableAssembler
- Parameters:
- field- the field
 
 - 
headerNotifypublic boolean headerNotify(MPEG2Section section) Description copied from interface:IMPEG2SectionListenerHeader notify.- Specified by:
- headerNotifyin interface- IMPEG2SectionListener
- Overrides:
- headerNotifyin class- MPEG2TableAssembler
- Parameters:
- section- the section
- Returns:
- true, if successful
 
 - 
tableExistpublic boolean tableExist() Description copied from class:MPEG2TableAssemblerTable exist.- Specified by:
- tableExistin class- MPEG2TableAssembler
- Returns:
- true, if successful
 
 - 
tableVersionpublic int tableVersion() Description copied from class:MPEG2TableAssemblerTable version.- Specified by:
- tableVersionin class- MPEG2TableAssembler
- Returns:
- the int
 
 - 
buildTablepublic void buildTable() Description copied from class:MPEG2TableAssemblerBuilds the table.- Specified by:
- buildTablein class- MPEG2TableAssembler
 
 - 
monitorStartpublic void monitorStart(IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.- Parameters:
- listener- the listener
- stream- the stream
 
 - 
monitorStoppublic void monitorStop(IMPEG2StreamListener listener) Monitor stop.- Parameters:
- listener- the listener
 
 - 
logThrottleDoLogpublic boolean logThrottleDoLog() 
 - 
logFatalpublic void logFatal(String comment) 
 - 
logErrorpublic void logError(String comment) 
 - 
logErrorpublic void logError(String comment, Exception e)
 - 
logWarnpublic void logWarn(String comment) 
 - 
logInfopublic void logInfo(String comment) 
 - 
logDebugpublic void logDebug(String comment) 
 
- 
 
-