Package velox.api.layer1.messages
Class DynamicHistoryEndTimeMessage
java.lang.Object
velox.api.layer1.messages.DynamicHistoryEndTimeMessage
- All Implemented Interfaces:
Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui,velox.api.layer1.messages.Layer1ApiIgnorableUpwardMessage
public class DynamicHistoryEndTimeMessage
extends Object
implements Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui
Sent to
Layer1ApiAdminListener.onUserMessage(Object)
for addons that use dynamic history (implement Layer1ApiDynamicHistoryListener).
Carries the value of dynamicHistoryEndNs - the boundary between the dynamic history interval and normal (client) data. time0 <= dynamicHistoryEndNs, where time0 is the absolute start of history visible on chart.
Sent once when the add-on is set up, and again whenever the value changes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringalias to which instrument this message is relatedfinal longEnd of the dynamic history interval (nanoseconds). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
alias
alias to which instrument this message is related -
dynamicHistoryEndNs
public final long dynamicHistoryEndNsEnd of the dynamic history interval (nanoseconds). Data in [time0, dynamicHistoryEndNs) comes from dynamic history; data from dynamicHistoryEndNs onward is old history + live.
-
-
Constructor Details
-
DynamicHistoryEndTimeMessage
-
-
Method Details