public final class APIFeed extends java.lang.Object implements IMessage, java.lang.Comparable<APIFeed>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFString |
exchangeName
The name of the exchange.
|
int |
feedID
A unique identifier for the feed.
|
long |
flags
APIFeed flags bitmask providing information about the feed.
|
APIMarket[] |
marketList
A list of markets supported by this feed.
|
MFString |
name
The name of the field (from the configuration).
|
APIMarket[][] |
recycleableZeroGCmarketList |
| Modifier | Constructor and Description |
|---|---|
|
APIFeed() |
|
APIFeed(MFString name,
MFString exchangeName,
int feedID,
long flags,
APIMarket[] marketList) |
protected |
APIFeed(ZeroGCProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(APIFeed rhs) |
void |
deepCopy(APIFeed src) |
void |
deserializeZeroGC(ZeroGCProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
APIMarket[] |
recycleZeroGCmarketListArray(int size) |
void |
serialize(ZeroGCProtoByteBuffer buffer) |
java.lang.String |
toString() |
public MFString name
public MFString exchangeName
public int feedID
public long flags
enum for possible values.public APIMarket[] marketList
public APIMarket[][] recycleableZeroGCmarketList
public APIFeed()
protected APIFeed(ZeroGCProtoByteBuffer buffer)
public APIMarket[] recycleZeroGCmarketListArray(int size)
public int getMsgType()
getMsgType in interface IMessagepublic void deepCopy(APIFeed src)
public boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(APIFeed rhs)
compareTo in interface java.lang.Comparable<APIFeed>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)