public class RealDataTest
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| (package private) class  | RealDataTest.OutChannel | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) static int | bufSupplySize | 
| (package private) static int | serverPort | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | createCodaTag(boolean sync,
             boolean error,
             boolean isBigEndian,
             boolean singleEventMode,
             int id) | 
| (package private) void | eventToOutputRing(java.nio.ByteBuffer buf,
                 ByteBufferItem item,
                 ByteBufferSupply bbSupply)This method places many ROC Raw events with simulated data
 onto the ring buffer of an output channel. | 
| static void | main(java.lang.String[] args)Run as a stand-alone application. | 
| void | run()This method is executed as a thread. | 
| (package private) void | setupOutputRingBuffer()Setup the output channel ring buffer. | 
| (package private) void | writeEventBuffer(java.nio.ByteBuffer buf,
                java.nio.ByteBuffer templateBuf,
                long eventNumber,
                long timestamp,
                boolean syncBit,
                boolean copy,
                int generatedDataBytes) | 
| void | writeToBuffer() | 
public static void main(java.lang.String[] args)
args - argspublic void run()
public void writeToBuffer()
public static int createCodaTag(boolean sync,
                                boolean error,
                                boolean isBigEndian,
                                boolean singleEventMode,
                                int id)
void setupOutputRingBuffer()
void eventToOutputRing(java.nio.ByteBuffer buf,
                       ByteBufferItem item,
                       ByteBufferSupply bbSupply)
buf - the event to place on output channel ring bufferitem - item corresponding to the buffer allowing buffer to be reusedbbSupply - ByteBuffer supplier.void writeEventBuffer(java.nio.ByteBuffer buf,
                      java.nio.ByteBuffer templateBuf,
                      long eventNumber,
                      long timestamp,
                      boolean syncBit,
                      boolean copy,
                      int generatedDataBytes)