public final class OrderSubmitted extends java.lang.Object implements IMessage, java.lang.Comparable<OrderSubmitted>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFFloat |
amount
The amount of the order submitted.
|
java.lang.String |
clOrdID
Client-provided order ID.
|
java.lang.String |
exOrdID
Exchange order ID.
|
int |
feedID
A unique identifier for the feed.
|
int |
marketID
A market ID, which identifies a unique financial instrument.
|
java.lang.String |
modelID |
long |
orderID
Internal order ID.
|
OrderStatus |
ordStatus
The status of this order if an IOC, filled or partially
filled.
|
int |
sequenceID
User sequence id.
|
long |
timeApiClient
Timestamp at the client API (taken on the client host).
|
long |
timeApiServer
Timestamp in the client handler within Whisperer.
|
long |
timeExchange
Timestamp provided by the exchange.
|
long |
timeHandler
Timestamp exiting the feed handler within Whisperer.
|
| Modifier | Constructor and Description |
|---|---|
|
OrderSubmitted() |
|
OrderSubmitted(int sequenceID,
long orderID,
java.lang.String clOrdID,
java.lang.String exOrdID,
java.lang.String modelID,
MFFloat amount,
OrderStatus ordStatus,
long timeExchange,
long timeHandler,
long timeApiServer,
long timeApiClient,
int feedID,
int marketID) |
protected |
OrderSubmitted(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OrderSubmitted 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 sequenceID
public long orderID
public java.lang.String clOrdID
public java.lang.String exOrdID
public java.lang.String modelID
public MFFloat amount
public OrderStatus ordStatus
public long timeExchange
public long timeHandler
public long timeApiServer
public long timeApiClient
public int feedID
public int marketID
public OrderSubmitted()
protected OrderSubmitted(ProtoByteBuffer buffer)
public OrderSubmitted(int sequenceID,
long orderID,
java.lang.String clOrdID,
java.lang.String exOrdID,
java.lang.String modelID,
MFFloat amount,
OrderStatus ordStatus,
long timeExchange,
long timeHandler,
long timeApiServer,
long timeApiClient,
int feedID,
int marketID)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(OrderSubmitted rhs)
compareTo in interface java.lang.Comparable<OrderSubmitted>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)