fr.fluxmedia.transmorpher.engine
Class TDispatcher
java.lang.Object
fr.fluxmedia.transmorpher.engine.TProcess_Impl
fr.fluxmedia.transmorpher.engine.TProcessBasic
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.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.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 |
contentHandlers
public org.xml.sax.ContentHandler[] contentHandlers
- a list of content handler to dispatch information
TDispatcher
public TDispatcher(java.lang.String[] pIn,
java.lang.String[] pOut,
Parameters pParam)
- the constructor
- Parameters:
pIn
- In port namespOut
- Out port namespParam
- Description of the Parameter
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 valuepContentHandler
- 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
..no bottom yet...