public final class MarketView extends java.lang.Object implements IMessage, java.lang.Comparable<MarketView>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
FeedMarketID |
fmID
A feed and market ID combination.
|
boolean |
isSnapshot
True if the market-data update is a full snapshot; False means
this is an incremental update.
|
MDEntry[] |
mdEntryList
A list of market data entries to update.
|
long |
timeApiClient
Timestamp at the client API (taken on the client host).
|
long |
timeApiServer
Timestamp in the client handler within Whisperer.
|
long |
timeArrival
Timestamp of arrival at the handler within Whisperer.
|
long |
timeEnhanced
Timestamp that the message left the market data enhancement,
if present.
|
long |
timeExchange
Timestamp provided by the exchange.
|
long |
timeHandler
Timestamp exiting the feed handler within Whisperer.
|
| Modifier | Constructor and Description |
|---|---|
|
MarketView() |
|
MarketView(FeedMarketID fmID,
long timeExchange,
long timeArrival,
long timeHandler,
long timeEnhanced,
long timeApiServer,
long timeApiClient,
boolean isSnapshot,
MDEntry[] mdEntryList) |
protected |
MarketView(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MarketView 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 FeedMarketID fmID
public long timeExchange
public long timeArrival
public long timeHandler
public long timeEnhanced
public long timeApiServer
public long timeApiClient
public boolean isSnapshot
public MDEntry[] mdEntryList
public MarketView()
protected MarketView(ProtoByteBuffer buffer)
public MarketView(FeedMarketID fmID, long timeExchange, long timeArrival, long timeHandler, long timeEnhanced, long timeApiServer, long timeApiClient, boolean isSnapshot, MDEntry[] mdEntryList)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(MarketView rhs)
compareTo in interface java.lang.Comparable<MarketView>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)