public final class APIFeed extends java.lang.Object implements IMessage, java.lang.Comparable<APIFeed>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
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.
|
java.lang.String |
name
The name of the field (from the configuration).
|
| Modifier | Constructor and Description |
|---|---|
|
APIFeed() |
protected |
APIFeed(ProtoByteBuffer buffer) |
|
APIFeed(java.lang.String name,
java.lang.String exchangeName,
int feedID,
long flags,
APIMarket[] marketList) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(APIFeed 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 java.lang.String name
public java.lang.String exchangeName
public int feedID
public long flags
enum for possible values.public APIMarket[] marketList
public APIFeed()
protected APIFeed(ProtoByteBuffer buffer)
public APIFeed(java.lang.String name,
java.lang.String exchangeName,
int feedID,
long flags,
APIMarket[] marketList)
public int getMsgType()
getMsgType in interface IMessagepublic 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 deserialize(ProtoByteBuffer buffer)
deserialize in interface IMessagepublic void serialize(ProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)