public class DataTransportImplFifo extends DataTransportAdapter
attr, connected, emu, errorMsg, isServer, logger, name, transportClass, transportState
Constructor and Description |
---|
DataTransportImplFifo(java.lang.String pname,
java.util.Map<java.lang.String,java.lang.String> attrib,
Emu emu)
Constructor.
|
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 |
end()
This method implements the END transition of the CODA run control state machine.
|
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, state
download, getEndCallback, getPrestartCallback, go, pause, prestart, registerEndCallback, registerPrestartCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
download, getEndCallback, getPrestartCallback, go, pause, prestart, registerEndCallback, registerPrestartCallback
public DataTransportImplFifo(java.lang.String pname, java.util.Map<java.lang.String,java.lang.String> attrib, Emu emu) throws DataNotFoundException
pname
- name of transportattrib
- transport's attribute map from config fileemu
- emu object this transport belongs toDataNotFoundException
- when "server" and "class" attributes
are missing from attrib map.public void end()
end
in interface CODAStateMachine
end
in class CODAStateMachineAdapter
public void reset()
reset
in interface CODAStateMachine
reset
in class DataTransportAdapter
public 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 problem