public class DataTransportImplEmu extends DataTransportAdapter
| Modifier and Type | Field and Description | 
|---|---|
| (package private) java.util.HashMap<java.lang.Integer,DataChannelImplEmu> | inputChannelTable | 
attr, connected, emu, errorMsg, isServer, name, transportClass, transportState| Constructor and Description | 
|---|
| DataTransportImplEmu(java.lang.String pname,
                    java.util.Map<java.lang.String,java.lang.String> attrib,
                    Emu emu)Constructor called during "download". | 
| Modifier and Type | Method and Description | 
|---|---|
| DataChannel | createChannel(java.lang.String name,
             java.util.Map<java.lang.String,java.lang.String> attributeMap,
             boolean isInput,
             Emu emu,
             EmuModule module,
             int outputIndex)This method creates a DataChannel object. | 
| void | reset()This method implements the RESET transition of the CODA run control state machine. | 
getAttr, getError, getIntAttr, getTransportClass, isConnected, isServer, name, setAttr, setConnected, setName, statedownload, end, getEndCallback, getPrestartCallback, go, pause, prestart, registerEndCallback, registerPrestartCallbackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownload, end, getEndCallback, getPrestartCallback, go, pause, prestart, registerEndCallback, registerPrestartCallbackfinal java.util.HashMap<java.lang.Integer,DataChannelImplEmu> inputChannelTable
public DataTransportImplEmu(java.lang.String pname,
                            java.util.Map<java.lang.String,java.lang.String> attrib,
                            Emu emu)
                     throws DataNotFoundException,
                            org.jlab.coda.cMsg.cMsgException
pname - name of transportattrib - transport's attribute map from config fileemu - emu object this transport belongs toDataNotFoundException - when udl not given or cannot connect to cmsg serverorg.jlab.coda.cMsg.cMsgException - cannot startup emu domain serverpublic DataChannel createChannel(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attributeMap, boolean isInput, Emu emu, EmuModule module, int outputIndex) throws DataTransportException
name - name of DataChannelattributeMap - hashmap of attributes taken from XML config fileisInput - true if this channel puts data into the Emu, else falseemu - Emu owning this channelmodule - module creating this channeloutputIndex - order in which module's events will be sent to this
                      output channel (0 for first output channel, 1 for next, etc.).DataTransportException - if transport problempublic void reset()
reset in interface CODAStateMachinereset in class DataTransportAdapter