public class MamdaOrderImbalanceListener extends java.lang.Object implements MamdaMsgListener, MamdaBasicEvent, MamdaBasicRecap, MamdaOrderImbalanceRecap, MamdaOrderImbalanceUpdate
| Constructor and Description |
|---|
MamdaOrderImbalanceListener()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(MamdaOrderImbalanceHandler handler)
addHandler - Registers handler interested in receiving update
update and recap events.
|
void |
clearCache(com.wombat.mamda.MamdaOrderImbalanceListener.MamdaOrderImbalanceCache cache)
clearCache - clears all cached data by resetting to
default values.
|
com.wombat.mama.MamaDateTime |
getActivityTime()
getActivityTime
|
short |
getActivityTimeFieldState()
getActivityTimeFieldState
|
com.wombat.mama.MamaDateTime |
getAuctionTime()
getAuctionTime
|
short |
getAuctionTimeFieldState()
getAuctionTimeFieldState
|
long |
getBuyVolume()
getBuyVolume - Returns the buy volume of the imbalance order
|
short |
getBuyVolumeFieldState()
getBuyVolumeFieldState - Returns the buy volume of the imbalance order
|
char |
getCrossType() |
short |
getCrossTypeFieldState()
getCrossType return the imbalance cross type
|
long |
getEventSeqNum()
getEventSeqNum
|
short |
getEventSeqNumFieldState()
getEventSeqNumFieldState
|
com.wombat.mama.MamaDateTime |
getEventTime()
getEventTime
|
short |
getEventTimeFieldState()
getEventTimeFieldState
|
com.wombat.mama.MamaPrice |
getFarClearingPrice()
getFarClearingPrice - Returns the far clearing price
for the imbalance order.
|
short |
getFarClearingPriceFieldState()
getFarClearingPriceFieldState - Returns the far clearing price
for the imbalance order.
|
com.wombat.mama.MamaPrice |
getHighIndicationPrice()
getHighIndicationPrice - Returns the high indication price
of the imbalance order.
|
short |
getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState - Returns the high indication price
of the imbalance order.
|
com.wombat.mama.MamaPrice |
getImbalancePrice()
getImbalancePrice - Returns the indication price for
the imbalance order.
|
short |
getImbalancePriceFieldState()
getImbalancePriceFieldState - Returns the indication price for
the imbalance order.
|
MamdaOrderImbalanceSide |
getImbalanceSide()
getImbalanceSide- Returns the imbalance side of
the imbalance order.
|
java.lang.String |
getImbalanceState()
getImbalanceState - Returns the order imbalance state
|
short |
getImbalanceStateFieldState()
getImbalanceStateFieldState - Returns the order imbalance state
|
long |
getImbalanceVolume()
getImbalanceVolume - Returns the imbalance volume, which
is either the sell or buy volume
|
java.lang.String |
getIssueSymbol()
getIssueSymbol
|
short |
getIssueSymbolFieldState()
getIssueSymbolFieldState
|
com.wombat.mama.MamaDateTime |
getLineTime()
getLineTime
|
short |
getLineTimeFieldState()
getLineTimeFieldState
|
com.wombat.mama.MamaPrice |
getLowIndicationPrice()
getLowIndicationPrice - Returns the low indication price
of the imbalance order.
|
short |
getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState - Returns the low indication price
of the imbalance order.
|
com.wombat.mama.MamaPrice |
getMatchPrice()
getMatchPrice - Returns the match price for the imbalance
order.
|
short |
getMatchPriceFieldState()
getMatchPriceFieldState - Returns the match price for the imbalance
order.
|
long |
getMatchVolume()
getMatchVolume - Returns the match volume of the imbalance order
|
short |
getMatchVolumeFieldState()
getMatchVolumeFieldState - Returns the match volume of the imbalance order
|
int |
getMsgType()
getMsgType
|
short |
getMsgTypeFieldState()
getMsgTypeFieldState
|
com.wombat.mama.MamaPrice |
getNearClearingPrice()
getNearClearingPrice - Returns the near clearing price
for the imbalance order.
|
short |
getNearClearingPriceFieldState()
getNearClearingPriceFieldState - Returns the near clearing price
for the imbalance order.
|
char |
getNoClearingPrice()
getNoClearingPrice - Returns the no clearing price
for the imbalance order.
|
short |
getNoClearingPriceFieldState()
getNoClearingPriceFieldState - Returns the no clearing price
for the imbalance order.
|
java.lang.String |
getPartId()
getPartId
|
short |
getPartIdFieldState()
getPartIdFieldState
|
char |
getPriceVarInd()
getPriceVarInd -
|
short |
getPriceVarIndFieldState()
getPriceVarIndFieldState -
|
java.lang.String |
getSecurityStatusOrig()
getSecurityStatusOrig
|
short |
getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldState
|
com.wombat.mama.MamaDateTime |
getSecurityStatusTime()
getSecurityStatusTime
|
short |
getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldState
|
long |
getSellVolume()
getSellVolume - Returns the sell volume of the imbalance order
|
short |
getSellVolumeFieldState()
getSellVolumeFieldState - Returns the sell volume of the imbalance order
|
com.wombat.mama.MamaDateTime |
getSendTime()
getSendTime
|
short |
getSendTimeFieldState()
getSendTimeFieldState
|
int |
getSeqNum()
getSeqNum
|
short |
getSeqNumFieldState()
getSeqNumFieldState
|
com.wombat.mama.MamaDateTime |
getSrcTime()
getSrcTime
|
short |
getSrcTimeFieldState()
getSrcTimeFieldState
|
java.lang.String |
getSymbol()
getSymbol
|
short |
getSymbolFieldState()
getSymbolFieldState
|
void |
onMsg(MamdaSubscription subscription,
com.wombat.mama.MamaMsg msg,
short msgType)
Implementation of MamdaListener interface.
|
public void clearCache(com.wombat.mamda.MamdaOrderImbalanceListener.MamdaOrderImbalanceCache cache)
cache - The imbalance order cache to clear.public void addHandler(MamdaOrderImbalanceHandler handler)
handler - - the handler to be registered.public com.wombat.mama.MamaPrice getHighIndicationPrice()
getHighIndicationPrice in interface MamdaOrderImbalanceRecapgetHighIndicationPrice in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaPrice getLowIndicationPrice()
getLowIndicationPrice in interface MamdaOrderImbalanceRecapgetLowIndicationPrice in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaPrice getImbalancePrice()
getImbalancePrice in interface MamdaOrderImbalanceRecapgetImbalancePrice in interface MamdaOrderImbalanceUpdatepublic long getBuyVolume()
getBuyVolume in interface MamdaOrderImbalanceRecapgetBuyVolume in interface MamdaOrderImbalanceUpdatepublic long getSellVolume()
getSellVolume in interface MamdaOrderImbalanceRecapgetSellVolume in interface MamdaOrderImbalanceUpdatepublic long getMatchVolume()
getMatchVolume in interface MamdaOrderImbalanceRecapgetMatchVolume in interface MamdaOrderImbalanceUpdatepublic java.lang.String getImbalanceState()
getImbalanceState in interface MamdaOrderImbalanceRecapgetImbalanceState in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaPrice getMatchPrice()
getMatchPrice in interface MamdaOrderImbalanceRecapgetMatchPrice in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaPrice getFarClearingPrice()
getFarClearingPrice in interface MamdaOrderImbalanceRecapgetFarClearingPrice in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaPrice getNearClearingPrice()
getNearClearingPrice in interface MamdaOrderImbalanceRecapgetNearClearingPrice in interface MamdaOrderImbalanceUpdatepublic char getNoClearingPrice()
getNoClearingPrice in interface MamdaOrderImbalanceRecapgetNoClearingPrice in interface MamdaOrderImbalanceUpdatepublic char getPriceVarInd()
getPriceVarInd in interface MamdaOrderImbalanceRecapgetPriceVarInd in interface MamdaOrderImbalanceUpdatepublic char getCrossType()
getCrossType in interface MamdaOrderImbalanceRecapgetCrossType in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaDateTime getEventTime()
getEventTime in interface MamdaBasicEventgetEventTime in interface MamdaOrderImbalanceRecapgetEventTime in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getEventTime()public long getEventSeqNum()
getEventSeqNum in interface MamdaBasicEventgetEventSeqNum in interface MamdaOrderImbalanceRecapgetEventSeqNum in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getEventSeqNum()public com.wombat.mama.MamaDateTime getActivityTime()
getActivityTime in interface MamdaBasicEventgetActivityTime in interface MamdaBasicRecapgetActivityTime in interface MamdaOrderImbalanceRecapgetActivityTime in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getActivityTime()public com.wombat.mama.MamaDateTime getSrcTime()
getSrcTime in interface MamdaBasicEventgetSrcTime in interface MamdaBasicRecapMamdaBasicEvent.getSrcTime()public com.wombat.mama.MamaDateTime getSendTime()
getSendTime in interface MamdaBasicRecapMamdaBasicEvent#getSendTimepublic com.wombat.mama.MamaDateTime getLineTime()
getLineTime in interface MamdaBasicRecapMamdaBasicEvent#getLineTimepublic int getMsgType()
getMsgType in interface MamdaOrderImbalanceRecapgetMsgType in interface MamdaOrderImbalanceUpdatepublic java.lang.String getIssueSymbol()
getIssueSymbol in interface MamdaOrderImbalanceRecapgetIssueSymbol in interface MamdaOrderImbalanceUpdatepublic java.lang.String getPartId()
getPartId in interface MamdaBasicRecapgetPartId in interface MamdaOrderImbalanceRecapgetPartId in interface MamdaOrderImbalanceUpdatepublic java.lang.String getSymbol()
getSymbol in interface MamdaBasicRecappublic int getSeqNum()
getSeqNum in interface MamdaOrderImbalanceRecapgetSeqNum in interface MamdaOrderImbalanceUpdatepublic java.lang.String getSecurityStatusOrig()
getSecurityStatusOrig in interface MamdaOrderImbalanceRecapgetSecurityStatusOrig in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaDateTime getSecurityStatusTime()
getSecurityStatusTime in interface MamdaOrderImbalanceRecapgetSecurityStatusTime in interface MamdaOrderImbalanceUpdatepublic com.wombat.mama.MamaDateTime getAuctionTime()
getAuctionTime in interface MamdaOrderImbalanceRecapgetAuctionTime in interface MamdaOrderImbalanceUpdatepublic short getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState in interface MamdaOrderImbalanceRecapgetHighIndicationPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState in interface MamdaOrderImbalanceRecapgetLowIndicationPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getImbalancePriceFieldState()
getImbalancePriceFieldState in interface MamdaOrderImbalanceRecapgetImbalancePriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getBuyVolumeFieldState()
getBuyVolumeFieldState in interface MamdaOrderImbalanceRecapgetBuyVolumeFieldState in interface MamdaOrderImbalanceUpdatepublic short getSellVolumeFieldState()
getSellVolumeFieldState in interface MamdaOrderImbalanceRecapgetSellVolumeFieldState in interface MamdaOrderImbalanceUpdatepublic short getMatchVolumeFieldState()
getMatchVolumeFieldState in interface MamdaOrderImbalanceRecapgetMatchVolumeFieldState in interface MamdaOrderImbalanceUpdatepublic short getImbalanceStateFieldState()
getImbalanceStateFieldState in interface MamdaOrderImbalanceRecapgetImbalanceStateFieldState in interface MamdaOrderImbalanceUpdatepublic short getMatchPriceFieldState()
getMatchPriceFieldState in interface MamdaOrderImbalanceRecapgetMatchPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getFarClearingPriceFieldState()
getFarClearingPriceFieldState in interface MamdaOrderImbalanceRecapgetFarClearingPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getNearClearingPriceFieldState()
getNearClearingPriceFieldState in interface MamdaOrderImbalanceRecapgetNearClearingPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getNoClearingPriceFieldState()
getNoClearingPriceFieldState in interface MamdaOrderImbalanceRecapgetNoClearingPriceFieldState in interface MamdaOrderImbalanceUpdatepublic short getPriceVarIndFieldState()
getPriceVarIndFieldState in interface MamdaOrderImbalanceRecapgetPriceVarIndFieldState in interface MamdaOrderImbalanceUpdatepublic short getCrossTypeFieldState()
getCrossTypeFieldState in interface MamdaOrderImbalanceRecapgetCrossTypeFieldState in interface MamdaOrderImbalanceUpdatepublic short getEventTimeFieldState()
getEventTimeFieldState in interface MamdaBasicEventgetEventTimeFieldState in interface MamdaOrderImbalanceRecapgetEventTimeFieldState in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getEventTimeFieldState()public short getEventSeqNumFieldState()
getEventSeqNumFieldState in interface MamdaBasicEventgetEventSeqNumFieldState in interface MamdaOrderImbalanceRecapgetEventSeqNumFieldState in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getEventSeqNumFieldState()public short getActivityTimeFieldState()
getActivityTimeFieldState in interface MamdaBasicEventgetActivityTimeFieldState in interface MamdaBasicRecapgetActivityTimeFieldState in interface MamdaOrderImbalanceRecapgetActivityTimeFieldState in interface MamdaOrderImbalanceUpdateMamdaBasicEvent.getActivityTimeFieldState()public short getSrcTimeFieldState()
getSrcTimeFieldState in interface MamdaBasicEventgetSrcTimeFieldState in interface MamdaBasicRecapMamdaBasicEvent.getSrcTimeFieldState()public short getSendTimeFieldState()
getSendTimeFieldState in interface MamdaBasicRecapMamdaBasicEvent#getSendTimeFieldStatepublic short getLineTimeFieldState()
getLineTimeFieldState in interface MamdaBasicRecapMamdaBasicEvent#getLineTimeFieldStatepublic short getMsgTypeFieldState()
getMsgTypeFieldState in interface MamdaOrderImbalanceRecapgetMsgTypeFieldState in interface MamdaOrderImbalanceUpdatepublic short getIssueSymbolFieldState()
getIssueSymbolFieldState in interface MamdaOrderImbalanceRecapgetIssueSymbolFieldState in interface MamdaOrderImbalanceUpdatepublic short getPartIdFieldState()
getPartIdFieldState in interface MamdaBasicRecapgetPartIdFieldState in interface MamdaOrderImbalanceRecapgetPartIdFieldState in interface MamdaOrderImbalanceUpdatepublic short getSymbolFieldState()
getSymbolFieldState in interface MamdaBasicRecappublic short getSeqNumFieldState()
getSeqNumFieldState in interface MamdaOrderImbalanceRecapgetSeqNumFieldState in interface MamdaOrderImbalanceUpdatepublic short getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldState in interface MamdaOrderImbalanceRecapgetSecurityStatusOrigFieldState in interface MamdaOrderImbalanceUpdatepublic short getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldState in interface MamdaOrderImbalanceRecapgetSecurityStatusTimeFieldState in interface MamdaOrderImbalanceUpdatepublic short getAuctionTimeFieldState()
getAuctionTimeFieldState in interface MamdaOrderImbalanceRecapgetAuctionTimeFieldState in interface MamdaOrderImbalanceUpdatepublic MamdaOrderImbalanceSide getImbalanceSide()
public long getImbalanceVolume()
public void onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
onMsg in interface MamdaMsgListenersubscription - The MamdaSubscription to which this listener was
registered.msg - The MamaMsg received by the underlying MAMA API and which
resulted in this callback being invoked.msgType - The message type. e.g. INITIAL, RECAP, UPDATE etc.Copyright 2007 Wombat Financial Software, Inc.