public class DataChannelImplFile extends DataChannelAdapter
DataChannelAdapter.ThreadState
availableSequences, 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, state
download
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
download
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) 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 DataChannel
getTransportType
in class DataChannelAdapter
public void go()
go
in interface CODAStateMachine
go
in class CODAStateMachineAdapter
public void pause()
pause
in interface CODAStateMachine
pause
in class CODAStateMachineAdapter
public void end()
end
in interface CODAStateMachine
end
in class CODAStateMachineAdapter
public void reset()
reset
in interface CODAStateMachine
reset
in class CODAStateMachineAdapter