| Package | Description | 
|---|---|
| org.jlab.coda.emu | |
| org.jlab.coda.emu.modules | |
| org.jlab.coda.emu.support.data | |
| org.jlab.coda.emu.support.transport | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<DataChannel> | Emu. getInChannels()Get list of input channels. | 
| java.util.ArrayList<DataChannel> | EmuModule. getInputChannels()Get the input channels of this EmuModule object. | 
| java.util.List<DataChannel> | Emu. getOutChannels()Get list of output channels. | 
| java.util.ArrayList<DataChannel> | EmuModule. getOutputChannels()Get the output channels of this EmuModule object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EmuModule. addInputChannels(java.util.ArrayList<DataChannel> input_channels)Add the given input channels to this EmuModule object. | 
| void | EmuModule. addOutputChannels(java.util.ArrayList<DataChannel> output_channels)Add the given output channels to this EmuModule object. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.ArrayList<DataChannel> | ModuleAdapter. inputChannelsArrayList of DataChannel objects for this module that are inputs. | 
| protected java.util.ArrayList<DataChannel> | ModuleAdapter. outputChannelsArrayList of DataChannel objects that are outputs. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayList<DataChannel> | ModuleAdapter. getInputChannels()Get the input channels of this EmuModule object. | 
| java.util.ArrayList<DataChannel> | RocFixedRateSimulation. getInputChannels()Get the input channels of this EmuModule object. | 
| java.util.ArrayList<DataChannel> | RocSimulation. getInputChannels()Get the input channels of this EmuModule object. | 
| java.util.ArrayList<DataChannel> | ModuleAdapter. getOutputChannels()Get the output channels of this EmuModule object. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ModuleAdapter. eventToOutputChannel(RingItem itemOut,
                    DataChannel channel,
                    int ringNum)This method is used to place an item onto a specified ring buffer of a
 single, specified output channel. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ModuleAdapter. addInputChannels(java.util.ArrayList<DataChannel> input_channels)Add the given input channels to this EmuModule object. | 
| void | RocFixedRateSimulation. addInputChannels(java.util.ArrayList<DataChannel> input_channels)Add the given input channels to this EmuModule object. | 
| void | RocSimulation. addInputChannels(java.util.ArrayList<DataChannel> input_channels)Add the given input channels to this EmuModule object. | 
| void | ModuleAdapter. addOutputChannels(java.util.ArrayList<DataChannel> output_channels)Add the given output channels to this EmuModule object. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | Evio. checkInput(PayloadBuffer pBuf,
          DataChannel channel,
          EventType eventType,
          org.jlab.coda.jevio.EvioNode inputNode,
          boolean recordIdError)Check the given payload buffer for correct record id, source id. | 
| static boolean | Evio. checkInputType(int recordId,
              DataChannel channel,
              EventType eventType,
              org.jlab.coda.jevio.EvioNode inputNode)Check the given payload buffer for event type
 (physics, ROC raw, control, or user) as well as evio structure type. | 
| static void | Evio. checkPayload(PayloadBuffer pBuf,
            DataChannel channel)Check the given payload buffer for correct format
 (physics, ROC raw, control, or user). | 
| static int | Evio. checkRecordIdSequence(int recordId,
                     int expectedRecordId,
                     boolean print,
                     EventType eventType,
                     DataChannel channel)Check the data coming over a channel for sequential record ids. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DataChannelAdapterThis class provides boilerplate code for the DataChannel
 interface (which includes the CODAStateMachine interface). | 
| class  | DataChannelImplCmsgThis class implement a data channel which gets data from
 or sends data to a cMsg server. | 
| class  | DataChannelImplEmuThis class implement a data channel which
 gets-data-from/sends-data-to an Emu domain client/server. | 
| class  | DataChannelImplEtThis class implement a data channel which gets data from
 or sends data to an ET system. | 
| class  | DataChannelImplFifoThis class implements a DataChannel to act as a fifo. | 
| class  | DataChannelImplFileImplementation of a DataChannel reading/writing from/to a file in EVIO format. | 
| Modifier and Type | Method and Description | 
|---|---|
| DataChannel | DataTransport. 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. | 
| DataChannel | DataTransportImplEmu. 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. | 
| DataChannel | DataTransportImplFifo. 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. | 
| DataChannel | DataTransportImplCmsg. 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. | 
| DataChannel | DataTransportImplFile. 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. | 
| DataChannel | DataTransportImplEt. 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. |