public final class MDEntry extends java.lang.Object implements IMessage, java.lang.Comparable<MDEntry>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFFloat |
amount
Amount of this entry.
|
java.lang.String |
components
For aggregated feeds, a string representation of the
components of liquidity.
|
MDElement |
element
Kind of element this entry is.
|
MFFloat |
minAmount
Amount that represents the small amount than can be executed
against for this MDEntry.
|
short |
numberOfOrders
For aggregated books, when we get notified of a price level,
this is the number of orders.
|
MFFloat |
price
Price of this entry.
|
Side |
side
Which side the entry is for.
|
byte |
source
A bitmask that provides hints regarding what data was used to
produce this entry (vanilla market entry, or enhanced).
|
MDUpdateAction |
updateAction
The action to apply for incremental updates.
|
| Modifier | Constructor and Description |
|---|---|
|
MDEntry() |
|
MDEntry(MFFloat price,
MFFloat amount,
MFFloat minAmount,
MDUpdateAction updateAction,
MDElement element,
Side side,
byte source,
short numberOfOrders,
java.lang.String components) |
protected |
MDEntry(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MDEntry rhs) |
void |
deserialize(ProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ProtoByteBuffer buffer) |
java.lang.String |
toString() |
public MFFloat price
public MFFloat amount
public MFFloat minAmount
public MDUpdateAction updateAction
public MDElement element
public Side side
public byte source
public short numberOfOrders
public java.lang.String components
public MDEntry()
protected MDEntry(ProtoByteBuffer buffer)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(MDEntry rhs)
compareTo in interface java.lang.Comparable<MDEntry>public int hashCode()
hashCode in class java.lang.Objectpublic void deserialize(ProtoByteBuffer buffer)
deserialize in interface IMessagepublic void serialize(ProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)