Class Layer1ApiLocalHistoryStartTimeMessage

java.lang.Object
velox.api.layer1.messages.Layer1ApiLocalHistoryStartTimeMessage
All Implemented Interfaces:
Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui, velox.api.layer1.messages.Layer1ApiIgnorableUpwardMessage

public class Layer1ApiLocalHistoryStartTimeMessage extends Object implements Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui
Sent to Layer1ApiAdminListener.onUserMessage(Object) for addons.

Carries the value of localHistoryStartNs - the boundary between the dynamic history interval and local history. Data starting from localHistoryNs can be requested from DataStructureInterface

Sent once when the add-on is set up, and again whenever the value changes. This value changes only in case when the user loads additional history data from the chart or from the subscription dialog

  • Field Details

    • alias

      public final String alias
      alias to which instrument this message is related
    • localHistoryStartNs

      public final long localHistoryStartNs
      Start of the local history (nanoseconds). Data in [localHistoryStartNs, liveTimeNs) can be requested from DataStructureInterface
  • Constructor Details

    • Layer1ApiLocalHistoryStartTimeMessage

      public Layer1ApiLocalHistoryStartTimeMessage(String alias, long localHistoryStartNs)
  • Method Details