public final class APIMarket extends java.lang.Object implements IMessage, java.lang.Comparable<APIMarket>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFFloat |
bigIncrement
The regular increment (defining precision).
|
int |
feedID
The ID of the feed to which this market pertains.
|
InstrumentType |
instrumentType
The instrument type of this market.
|
int |
marketID
A unique ID for this market.
|
MFFloat |
minIncrement
The minimum increment (defining granularity).
|
java.lang.String |
name
The name of this instrument.
|
StandardTenor |
settlementDate
The settlement date as a standard tenor.
|
| Modifier | Constructor and Description |
|---|---|
|
APIMarket() |
|
APIMarket(int marketID,
java.lang.String name,
int feedID,
MFFloat bigIncrement,
MFFloat minIncrement,
InstrumentType instrumentType,
StandardTenor settlementDate) |
protected |
APIMarket(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(APIMarket 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 int marketID
public java.lang.String name
public int feedID
public MFFloat bigIncrement
public MFFloat minIncrement
public InstrumentType instrumentType
public StandardTenor settlementDate
public APIMarket()
protected APIMarket(ProtoByteBuffer buffer)
public APIMarket(int marketID,
java.lang.String name,
int feedID,
MFFloat bigIncrement,
MFFloat minIncrement,
InstrumentType instrumentType,
StandardTenor settlementDate)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(APIMarket rhs)
compareTo in interface java.lang.Comparable<APIMarket>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)