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.MamaDateTimegetLineTime()Get the line time of the update.shortgetLineTimeFieldState()MamdaOrderBookgetOrderBook()Returns a reference to the full orderbook if a full book is being maintained by the MamdaOrderBookListener.java.lang.StringgetPartId()Get the participant identifier.shortgetPartIdFieldState()com.wombat.mama.MamaDateTimegetSendTime()Get the send time of the update.shortgetSendTimeFieldState()java.lang.StringgetSymbol()Get the string symbol for the instrument.shortgetSymbolFieldState()voidsetBook(MamdaOrderBook book)voidsetLineTime(com.wombat.mama.MamaDateTime lineTime)voidsetPartId(java.lang.String partId)voidsetSendTime(com.wombat.mama.MamaDateTime sendTime)voidsetSymbol(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:MamdaOrderBookRecapReturns a reference to the full orderbook if a full book is being maintained by the MamdaOrderBookListener.- Specified by:
getOrderBookin interfaceMamdaOrderBookRecap
-
setBook
public void setBook(MamdaOrderBook book)
-
getSendTime
public com.wombat.mama.MamaDateTime getSendTime()
Description copied from interface:MamdaBasicRecapGet the send time of the update.- Specified by:
getSendTimein 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:
getSendTimeFieldStatein 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:MamdaBasicRecapGet the line time of the update.- Specified by:
getLineTimein 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:
getLineTimeFieldStatein 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:MamdaBasicRecapGet the participant identifier.- Specified by:
getPartIdin 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:
getPartIdFieldStatein interfaceMamdaBasicRecap- Returns:
- participant ID Field State
-
setPartId
public void setPartId(java.lang.String partId)
-
getSymbol
public java.lang.String getSymbol()
Description copied from interface:MamdaBasicRecapGet the string symbol for the instrument.- Specified by:
getSymbolin 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:
getSymbolFieldStatein interfaceMamdaBasicRecap- Returns:
- symbol Field State
-
setSymbol
public void setSymbol(java.lang.String symbol)
-
-