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.
|
MFString |
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,
MFString components) |
protected |
MDEntry(ZeroGCProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MDEntry rhs) |
void |
deepCopy(MDEntry src) |
void |
deserializeZeroGC(ZeroGCProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ZeroGCProtoByteBuffer 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 MFString components
public MDEntry()
protected MDEntry(ZeroGCProtoByteBuffer buffer)
public int getMsgType()
getMsgType in interface IMessagepublic void deepCopy(MDEntry src)
public 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 deserializeZeroGC(ZeroGCProtoByteBuffer buffer)
deserializeZeroGC in interface IMessagepublic void serialize(ZeroGCProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)