public class DataTransportImplFile extends DataTransportAdapter
attr, connected, emu, errorMsg, isServer, logger, name, transportClass, transportState| Constructor and Description |
|---|
DataTransportImplFile(java.lang.String name,
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.
|
getAttr, getError, getIntAttr, getTransportClass, isConnected, isServer, name, reset, 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, registerPrestartCallbackpublic DataTransportImplFile(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attrib,
Emu emu)
throws DataNotFoundException
name - name of this transport objectattrib - Map of attributes of this transportemu - emu that created this transportDataNotFoundException - when "server" and "class" attributes
are missing from attrib map.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 transportmodule - 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