Package com.wombat.mamda.orderbook
Class MamdaOrderBookConcreteRecap
- java.lang.Object
-
- com.wombat.mamda.MamdaConcreteBasicEvent
-
- com.wombat.mamda.orderbook.MamdaOrderBookConcreteRecap
-
- All Implemented Interfaces:
MamdaBasicEvent
,MamdaBasicRecap
,MamdaOrderBookRecap
public class MamdaOrderBookConcreteRecap extends MamdaConcreteBasicEvent implements MamdaOrderBookRecap
MamdaOrderBookConcreteRecap is a class that saves information about a full order book image.
-
-
Constructor Summary
Constructors Constructor Description MamdaOrderBookConcreteRecap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.wombat.mama.MamaDateTime
getLineTime()
Get the line time of the update.short
getLineTimeFieldState()
MamdaOrderBook
getOrderBook()
Returns a reference to the full orderbook if a full book is being maintained by the MamdaOrderBookListener.java.lang.String
getPartId()
Get the participant identifier.short
getPartIdFieldState()
com.wombat.mama.MamaDateTime
getSendTime()
Get the send time of the update.short
getSendTimeFieldState()
java.lang.String
getSymbol()
Get the string symbol for the instrument.short
getSymbolFieldState()
void
setBook(MamdaOrderBook book)
void
setLineTime(com.wombat.mama.MamaDateTime lineTime)
void
setPartId(java.lang.String partId)
void
setSendTime(com.wombat.mama.MamaDateTime sendTime)
void
setSymbol(java.lang.String symbol)
-
Methods inherited from class com.wombat.mamda.MamdaConcreteBasicEvent
getActivityTime, getActivityTimeFieldState, getEventSeqNum, getEventSeqNumFieldState, getEventTime, getEventTimeFieldState, getSrcTime, getSrcTimeFieldState, setActivityTime, setEventSeqNum, setEventTime, setSrcTime
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.wombat.mamda.MamdaBasicRecap
getActivityTime, getActivityTimeFieldState, getSrcTime, getSrcTimeFieldState
-
-
-
-
Method Detail
-
getOrderBook
public MamdaOrderBook getOrderBook()
Description copied from interface:MamdaOrderBookRecap
Returns a reference to the full orderbook if a full book is being maintained by the MamdaOrderBookListener.- Specified by:
getOrderBook
in interfaceMamdaOrderBookRecap
-
setBook
public void setBook(MamdaOrderBook book)
-
getSendTime
public com.wombat.mama.MamaDateTime getSendTime()
Description copied from interface:MamdaBasicRecap
Get the send time of the update.- Specified by:
getSendTime
in interfaceMamdaBasicRecap
- Returns:
- Send time. A feed handler (or similar publisher) time stamp representing the time that such publisher sent the current message. The difference between the line time and send time is the latency within the feed handler itself. Also, if clocks are properly synchronized then the difference between the send time and current time is the latency within the market data distribution framework (i.e. MAMA and the underlying middleware).
-
getSendTimeFieldState
public short getSendTimeFieldState()
- Specified by:
getSendTimeFieldState
in interfaceMamdaBasicRecap
- Returns:
- send time Field State
-
setSendTime
public void setSendTime(com.wombat.mama.MamaDateTime sendTime)
-
getLineTime
public com.wombat.mama.MamaDateTime getLineTime()
Description copied from interface:MamdaBasicRecap
Get the line time of the update.- Specified by:
getLineTime
in interfaceMamdaBasicRecap
- Returns:
- Line time. A feed handler (or similar publisher) time stamp representing the time that such publisher received the update message pertaining to the event. If clocks are properly synchronized and the source time (see above) is accurate enough, then the difference between the source time and line time is the latency between the data source and the feed handler.
-
getLineTimeFieldState
public short getLineTimeFieldState()
- Specified by:
getLineTimeFieldState
in interfaceMamdaBasicRecap
- Returns:
- line time Field State
-
setLineTime
public void setLineTime(com.wombat.mama.MamaDateTime lineTime)
-
getPartId
public java.lang.String getPartId()
Description copied from interface:MamdaBasicRecap
Get the participant identifier.- Specified by:
getPartId
in interfaceMamdaBasicRecap
- Returns:
- Participant ID. This may be an exchange identifier, a market maker ID, etc., or NULL (if this is not related to any specific participant).
-
getPartIdFieldState
public short getPartIdFieldState()
- Specified by:
getPartIdFieldState
in interfaceMamdaBasicRecap
- Returns:
- participant ID Field State
-
setPartId
public void setPartId(java.lang.String partId)
-
getSymbol
public java.lang.String getSymbol()
Description copied from interface:MamdaBasicRecap
Get the string symbol for the instrument.- Specified by:
getSymbol
in interfaceMamdaBasicRecap
- Returns:
- Symbol. This is the "well-known" symbol for the security, including any symbology mapping performed by the publisher.
-
getSymbolFieldState
public short getSymbolFieldState()
- Specified by:
getSymbolFieldState
in interfaceMamdaBasicRecap
- Returns:
- symbol Field State
-
setSymbol
public void setSymbol(java.lang.String symbol)
-
-