java.lang.Object
velox.api.layer1.datastructure.events.Event
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, CloneableSerializable, CustomGeneratedEvent
Direct Known Subclasses:
DepthAggregationEvent, MboAggregationEvent, OrderExecutedEvent, OrderUpdatedEvent, OrderUpdatesExecutionsAggregationEvent, TradeAggregationEvent

public abstract class Event
extends java.lang.Object
implements CustomGeneratedEvent
Base class for events that can be retrieved from the tree.
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    velox.api.layer1.datastructure.events.EventType eventType  
    long time  
  • Constructor Summary

    Constructors 
    Constructor Description
    Event​(long time, velox.api.layer1.datastructure.events.EventType eventType)  
  • Method Summary

    Modifier and Type Method Description
    abstract java.lang.Object clone()  
    long getTime()  

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • time

      public final long time
    • eventType

      @SerializedName(value="eventType", alternate="event_type") public final velox.api.layer1.datastructure.events.EventType eventType
  • Constructor Details

    • Event

      public Event​(long time, velox.api.layer1.datastructure.events.EventType eventType)
  • Method Details