Package deltix.qsrv.testsetup
Class DataGenerator
- java.lang.Object
-
- deltix.qsrv.testsetup.BaseGenerator<deltix.qsrv.hf.pub.InstrumentMessage>
-
- deltix.qsrv.testsetup.DataGenerator
-
- All Implemented Interfaces:
deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage>
,deltix.util.concurrent.AbstractCursor
,deltix.util.lang.Disposable
,java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
TimebaseTestUtils.DataGeneratorEx
public class DataGenerator extends BaseGenerator<deltix.qsrv.hf.pub.InstrumentMessage>
-
-
Field Summary
Fields Modifier and Type Field Description protected deltix.timebase.api.messages.BestBidOfferMessage
bbo1
protected deltix.timebase.api.messages.BestBidOfferMessage
bbo2
protected int
count
protected deltix.timebase.api.messages.TradeMessage
trade
-
Fields inherited from class deltix.qsrv.testsetup.BaseGenerator
calendar, current, rnd, symbols
-
-
Constructor Summary
Constructors Constructor Description DataGenerator(java.util.GregorianCalendar calendar, int interval, java.lang.String... symbols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAtEnd()
boolean
next()
-
Methods inherited from class deltix.qsrv.testsetup.BaseGenerator
close, getActualTime, getMessage, getNextTime, nextDouble, setSymbols
-
-