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 MamdaOrderImbalanceRecap
getHighIndicationPrice
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaPrice getLowIndicationPrice()
getLowIndicationPrice
in interface MamdaOrderImbalanceRecap
getLowIndicationPrice
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaPrice getImbalancePrice()
getImbalancePrice
in interface MamdaOrderImbalanceRecap
getImbalancePrice
in interface MamdaOrderImbalanceUpdate
public long getBuyVolume()
getBuyVolume
in interface MamdaOrderImbalanceRecap
getBuyVolume
in interface MamdaOrderImbalanceUpdate
public long getSellVolume()
getSellVolume
in interface MamdaOrderImbalanceRecap
getSellVolume
in interface MamdaOrderImbalanceUpdate
public long getMatchVolume()
getMatchVolume
in interface MamdaOrderImbalanceRecap
getMatchVolume
in interface MamdaOrderImbalanceUpdate
public java.lang.String getImbalanceState()
getImbalanceState
in interface MamdaOrderImbalanceRecap
getImbalanceState
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaPrice getMatchPrice()
getMatchPrice
in interface MamdaOrderImbalanceRecap
getMatchPrice
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaPrice getFarClearingPrice()
getFarClearingPrice
in interface MamdaOrderImbalanceRecap
getFarClearingPrice
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaPrice getNearClearingPrice()
getNearClearingPrice
in interface MamdaOrderImbalanceRecap
getNearClearingPrice
in interface MamdaOrderImbalanceUpdate
public char getNoClearingPrice()
getNoClearingPrice
in interface MamdaOrderImbalanceRecap
getNoClearingPrice
in interface MamdaOrderImbalanceUpdate
public char getPriceVarInd()
getPriceVarInd
in interface MamdaOrderImbalanceRecap
getPriceVarInd
in interface MamdaOrderImbalanceUpdate
public char getCrossType()
getCrossType
in interface MamdaOrderImbalanceRecap
getCrossType
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaDateTime getEventTime()
getEventTime
in interface MamdaBasicEvent
getEventTime
in interface MamdaOrderImbalanceRecap
getEventTime
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getEventTime()
public long getEventSeqNum()
getEventSeqNum
in interface MamdaBasicEvent
getEventSeqNum
in interface MamdaOrderImbalanceRecap
getEventSeqNum
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getEventSeqNum()
public com.wombat.mama.MamaDateTime getActivityTime()
getActivityTime
in interface MamdaBasicEvent
getActivityTime
in interface MamdaBasicRecap
getActivityTime
in interface MamdaOrderImbalanceRecap
getActivityTime
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getActivityTime()
public com.wombat.mama.MamaDateTime getSrcTime()
getSrcTime
in interface MamdaBasicEvent
getSrcTime
in interface MamdaBasicRecap
MamdaBasicEvent.getSrcTime()
public com.wombat.mama.MamaDateTime getSendTime()
getSendTime
in interface MamdaBasicRecap
MamdaBasicEvent#getSendTime
public com.wombat.mama.MamaDateTime getLineTime()
getLineTime
in interface MamdaBasicRecap
MamdaBasicEvent#getLineTime
public int getMsgType()
getMsgType
in interface MamdaOrderImbalanceRecap
getMsgType
in interface MamdaOrderImbalanceUpdate
public java.lang.String getIssueSymbol()
getIssueSymbol
in interface MamdaOrderImbalanceRecap
getIssueSymbol
in interface MamdaOrderImbalanceUpdate
public java.lang.String getPartId()
getPartId
in interface MamdaBasicRecap
getPartId
in interface MamdaOrderImbalanceRecap
getPartId
in interface MamdaOrderImbalanceUpdate
public java.lang.String getSymbol()
getSymbol
in interface MamdaBasicRecap
public int getSeqNum()
getSeqNum
in interface MamdaOrderImbalanceRecap
getSeqNum
in interface MamdaOrderImbalanceUpdate
public java.lang.String getSecurityStatusOrig()
getSecurityStatusOrig
in interface MamdaOrderImbalanceRecap
getSecurityStatusOrig
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaDateTime getSecurityStatusTime()
getSecurityStatusTime
in interface MamdaOrderImbalanceRecap
getSecurityStatusTime
in interface MamdaOrderImbalanceUpdate
public com.wombat.mama.MamaDateTime getAuctionTime()
getAuctionTime
in interface MamdaOrderImbalanceRecap
getAuctionTime
in interface MamdaOrderImbalanceUpdate
public short getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState
in interface MamdaOrderImbalanceRecap
getHighIndicationPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState
in interface MamdaOrderImbalanceRecap
getLowIndicationPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getImbalancePriceFieldState()
getImbalancePriceFieldState
in interface MamdaOrderImbalanceRecap
getImbalancePriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getBuyVolumeFieldState()
getBuyVolumeFieldState
in interface MamdaOrderImbalanceRecap
getBuyVolumeFieldState
in interface MamdaOrderImbalanceUpdate
public short getSellVolumeFieldState()
getSellVolumeFieldState
in interface MamdaOrderImbalanceRecap
getSellVolumeFieldState
in interface MamdaOrderImbalanceUpdate
public short getMatchVolumeFieldState()
getMatchVolumeFieldState
in interface MamdaOrderImbalanceRecap
getMatchVolumeFieldState
in interface MamdaOrderImbalanceUpdate
public short getImbalanceStateFieldState()
getImbalanceStateFieldState
in interface MamdaOrderImbalanceRecap
getImbalanceStateFieldState
in interface MamdaOrderImbalanceUpdate
public short getMatchPriceFieldState()
getMatchPriceFieldState
in interface MamdaOrderImbalanceRecap
getMatchPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getFarClearingPriceFieldState()
getFarClearingPriceFieldState
in interface MamdaOrderImbalanceRecap
getFarClearingPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getNearClearingPriceFieldState()
getNearClearingPriceFieldState
in interface MamdaOrderImbalanceRecap
getNearClearingPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getNoClearingPriceFieldState()
getNoClearingPriceFieldState
in interface MamdaOrderImbalanceRecap
getNoClearingPriceFieldState
in interface MamdaOrderImbalanceUpdate
public short getPriceVarIndFieldState()
getPriceVarIndFieldState
in interface MamdaOrderImbalanceRecap
getPriceVarIndFieldState
in interface MamdaOrderImbalanceUpdate
public short getCrossTypeFieldState()
getCrossTypeFieldState
in interface MamdaOrderImbalanceRecap
getCrossTypeFieldState
in interface MamdaOrderImbalanceUpdate
public short getEventTimeFieldState()
getEventTimeFieldState
in interface MamdaBasicEvent
getEventTimeFieldState
in interface MamdaOrderImbalanceRecap
getEventTimeFieldState
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getEventTimeFieldState()
public short getEventSeqNumFieldState()
getEventSeqNumFieldState
in interface MamdaBasicEvent
getEventSeqNumFieldState
in interface MamdaOrderImbalanceRecap
getEventSeqNumFieldState
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getEventSeqNumFieldState()
public short getActivityTimeFieldState()
getActivityTimeFieldState
in interface MamdaBasicEvent
getActivityTimeFieldState
in interface MamdaBasicRecap
getActivityTimeFieldState
in interface MamdaOrderImbalanceRecap
getActivityTimeFieldState
in interface MamdaOrderImbalanceUpdate
MamdaBasicEvent.getActivityTimeFieldState()
public short getSrcTimeFieldState()
getSrcTimeFieldState
in interface MamdaBasicEvent
getSrcTimeFieldState
in interface MamdaBasicRecap
MamdaBasicEvent.getSrcTimeFieldState()
public short getSendTimeFieldState()
getSendTimeFieldState
in interface MamdaBasicRecap
MamdaBasicEvent#getSendTimeFieldState
public short getLineTimeFieldState()
getLineTimeFieldState
in interface MamdaBasicRecap
MamdaBasicEvent#getLineTimeFieldState
public short getMsgTypeFieldState()
getMsgTypeFieldState
in interface MamdaOrderImbalanceRecap
getMsgTypeFieldState
in interface MamdaOrderImbalanceUpdate
public short getIssueSymbolFieldState()
getIssueSymbolFieldState
in interface MamdaOrderImbalanceRecap
getIssueSymbolFieldState
in interface MamdaOrderImbalanceUpdate
public short getPartIdFieldState()
getPartIdFieldState
in interface MamdaBasicRecap
getPartIdFieldState
in interface MamdaOrderImbalanceRecap
getPartIdFieldState
in interface MamdaOrderImbalanceUpdate
public short getSymbolFieldState()
getSymbolFieldState
in interface MamdaBasicRecap
public short getSeqNumFieldState()
getSeqNumFieldState
in interface MamdaOrderImbalanceRecap
getSeqNumFieldState
in interface MamdaOrderImbalanceUpdate
public short getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldState
in interface MamdaOrderImbalanceRecap
getSecurityStatusOrigFieldState
in interface MamdaOrderImbalanceUpdate
public short getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldState
in interface MamdaOrderImbalanceRecap
getSecurityStatusTimeFieldState
in interface MamdaOrderImbalanceUpdate
public short getAuctionTimeFieldState()
getAuctionTimeFieldState
in interface MamdaOrderImbalanceRecap
getAuctionTimeFieldState
in interface MamdaOrderImbalanceUpdate
public MamdaOrderImbalanceSide getImbalanceSide()
public long getImbalanceVolume()
public void onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
onMsg
in interface MamdaMsgListener
subscription
- 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.