Class 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  
    • Constructor Summary

      Constructors 
      Constructor Description
      DataGenerator​(java.util.GregorianCalendar calendar, int interval, java.lang.String... symbols)  
    • Field Detail

      • count

        protected int count
      • trade

        protected deltix.timebase.api.messages.TradeMessage trade
      • bbo1

        protected deltix.timebase.api.messages.BestBidOfferMessage bbo1
      • bbo2

        protected deltix.timebase.api.messages.BestBidOfferMessage bbo2
    • Constructor Detail

      • DataGenerator

        public DataGenerator​(java.util.GregorianCalendar calendar,
                             int interval,
                             java.lang.String... symbols)
    • Method Detail

      • next

        public boolean next()
      • isAtEnd

        public boolean isAtEnd()