public class DataChannelImplFile extends DataChannelAdapter
DataChannelAdapter.ThreadStateavailableSequences, bAddrList, buffersPerSec, byteOrder, channelState, dataTransport, emu, endCallback, errorMsg, eventsPerBuffer, gotEndCmd, gotResetCmd, id, ignoreDataErrors, input, inputRingItemCount, ipAddrList, isFifo, logger, module, name, nanoSecPerBuf, nextEvent, nextSequences, outputChannelCount, outputChannelFill, outputIndex, outputModuleInternalRingCount, outputRingCount, outputRingItemCount, pause, prescale, prestartCallback, regulateBufferRate, ringBufferIn, ringBuffersOut, ringIndex, sequenceBarriers, sequences, singleEventOut, totalRingCapacity| Constructor and Description |
|---|
DataChannelImplFile(java.lang.String name,
DataTransportImplFile transport,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
boolean input,
Emu emu,
EmuModule module,
int outputIndex)
Constructor DataChannelImplFile creates a new DataChannelImplFile instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end()
This method implements the END transition of the CODA run control state machine.
|
TransportType |
getTransportType()
Get the type of transport this channel implements.
|
void |
go()
This method implements the GO transition of the CODA run control state machine.
|
void |
pause()
This method implements the PAUSE transition of the CODA run control state machine.
|
void |
reset()
This method implements the RESET transition of the CODA run control state machine.
|
getDataTransport, getEndCallback, getError, getID, getInputLevel, getModule, getNextOutputRingItem, getNextSequence, getOutputLevel, getOutputRingCount, getPrescale, getPrestartCallback, getRecordId, getRingBufferIn, getRingBuffersOut, gotoNextRingItem, isInput, name, prestart, registerEndCallback, registerPrestartCallback, regulateOutputBufferRate, releaseCurrentAndGoToNextOutputRingItem, releaseOutputRingItem, sequentialReleaseOutputRingItem, setDestinationBaList, setDestinationIpList, setNextEventAndRing, setRecordId, setupInputRingBuffers, setupOutputRingBuffers, statedownloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdownloadDataChannelImplFile(java.lang.String name,
DataTransportImplFile transport,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
boolean input,
Emu emu,
EmuModule module,
int outputIndex)
throws DataTransportException
name - name of file channeltransport - DataTransport object that created this channelattributeMap - the hashmap of config file attributes for this channelinput - true if this is an inputemu - emu this channel belongs tomodule - module this channel belongs tooutputIndex - order in which module's events will be sent to this
output channel (0 for first output channel, 1 for next, etc.).DataTransportException - if unable to create fifo buffer.public TransportType getTransportType()
getTransportType in interface DataChannelgetTransportType in class DataChannelAdapterpublic void go()
go in interface CODAStateMachinego in class CODAStateMachineAdapterpublic void pause()
pause in interface CODAStateMachinepause in class CODAStateMachineAdapterpublic void end()
end in interface CODAStateMachineend in class CODAStateMachineAdapterpublic void reset()
reset in interface CODAStateMachinereset in class CODAStateMachineAdapter