INRIA & FluxMedia

fr.fluxmedia.transmorpher.engine
Class TDispatcher

java.lang.Object
  extended by fr.fluxmedia.transmorpher.engine.TProcess_Impl
      extended by fr.fluxmedia.transmorpher.engine.TProcessBasic
          extended by fr.fluxmedia.transmorpher.engine.TDispatcher
All Implemented Interfaces:
TProcess, java.lang.Runnable, org.xml.sax.ContentHandler
Direct Known Subclasses:
Broadcast, TestingDispatcher

public abstract class TDispatcher
extends TProcessBasic
implements org.xml.sax.ContentHandler

this class define the dispatcher process. dispatch one data flow to different process.

Since:
jdk 1.2 SAX 2.0
Author:
laurent tardif

Field Summary
 org.xml.sax.ContentHandler[] contentHandlers
          a list of content handler to dispatch information
 
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic
finished, isThread, param, procThread, type
 
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl
debug, id, iListIn, iListOfParameters, iListOut, iName, iNbIn, iNbOut, nameFather, nameIn, nameOut
 
Constructor Summary
TDispatcher(java.lang.String[] pIn, java.lang.String[] pOut, Parameters pParam)
          the constructor
 
Method Summary
 void generatePort()
          Generates ports for this component
 void setContentHandler(int i, org.xml.sax.ContentHandler pContentHandler)
          Sets the content handler at index i in the content handlers list.
 
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic
execProcess, getFinished, getType, initParameters, run, setFinished, setThread, setType
 
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl
bindParameters, getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Field Detail

contentHandlers

public org.xml.sax.ContentHandler[] contentHandlers
a list of content handler to dispatch information

Constructor Detail

TDispatcher

public TDispatcher(java.lang.String[] pIn,
                   java.lang.String[] pOut,
                   Parameters pParam)
the constructor

Parameters:
pIn - In port names
pOut - Out port names
pParam - Description of the Parameter
Method Detail

setContentHandler

public final void setContentHandler(int i,
                                    org.xml.sax.ContentHandler pContentHandler)
Sets the content handler at index i in the content handlers list.

Parameters:
i - The index value
pContentHandler - The new contentHandler value

generatePort

public void generatePort()
Generates ports for this component

Specified by:
generatePort in interface TProcess
Specified by:
generatePort in class TProcess_Impl

INRIA & FluxMedia

..no bottom yet...