Class OrderBookSnapshotWriterImpl
java.lang.Object
express.mvp.myra.codec.examples.generated.orderbook.OrderBookSnapshotWriterImpl
- All Implemented Interfaces:
OrderBookSnapshotWriter
Auto-generated writer implementation for OrderBookSnapshot.
Fill fields directly, then pass this instance to a builder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintbooleanintlong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(OrderBookSnapshotBuilder builder, int index) Writes the element at the given index into the provided builder.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OrderBookSnapshotWriter
writeTo
-
Field Details
-
timestamp
-
timestampScratch
-
venue
-
venueScratch
-
symbol
-
symbolScratch
-
instrumentId
public int instrumentId -
sequence
public long sequence -
isTrading
public boolean isTrading -
tradingStatus
-
lastTradeWriter
-
bidsCount
public int bidsCount -
bidsWriter
-
asksCount
public int asksCount -
asksWriter
-
metadataCount
public int metadataCount -
metadataWriter
-
-
Constructor Details
-
OrderBookSnapshotWriterImpl
public OrderBookSnapshotWriterImpl()
-
-
Method Details
-
writeTo
Description copied from interface:OrderBookSnapshotWriterWrites the element at the given index into the provided builder.- Specified by:
writeToin interfaceOrderBookSnapshotWriter- Parameters:
builder- target builderindex- element index (0-based)
-