public class MamdaAuctionListener extends java.lang.Object implements MamdaMsgListener, MamdaBasicEvent, MamdaBasicRecap, MamdaAuctionRecap, MamdaAuctionUpdate
| Constructor and Description |
|---|
MamdaAuctionListener()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(MamdaAuctionHandler handler)
addHandler - Registers handler interested in receiving update
update and recap events.
|
void |
clearCache()
clearCache - clears all cached data by resetting to
default values.
|
com.wombat.mama.MamaDateTime |
getActivityTime()
getActivityTime
|
short |
getActivityTimeFieldState()
getActivityTimeFieldState
|
long |
getEventSeqNum()
getEventSeqNum
|
short |
getEventSeqNumFieldState()
getEventSeqNumFieldState
|
com.wombat.mama.MamaDateTime |
getEventTime()
getEventTime
|
short |
getEventTimeFieldState()
getEventTimeFieldState
|
java.lang.String |
getIssueSymbol()
getIssueSymbol
|
short |
getIssueSymbolFieldState()
getIssueSymbolFieldState
|
com.wombat.mama.MamaDateTime |
getLineTime()
getLineTime
|
short |
getLineTimeFieldState()
getLineTimeFieldState
|
java.lang.String |
getPartId()
getPartId
|
short |
getPartIdFieldState()
getPartIdFieldState
|
com.wombat.mama.MamaDateTime |
getSendTime()
getSendTime
|
short |
getSendTimeFieldState()
getSendTimeFieldState
|
com.wombat.mama.MamaDateTime |
getSrcTime()
getSrcTime
|
short |
getSrcTimeFieldState()
getSrcTimeFieldState
|
java.lang.String |
getSymbol()
getSymbol
|
short |
getSymbolFieldState()
getSymbolFieldState
|
com.wombat.mama.MamaPrice |
getUncrossPrice()
getUncrossPrice
|
short |
getUncrossPriceFieldState()
getUncrossPriceFieldState
|
short |
getUncrossPriceInd()
getUncrossPriceInd
|
short |
getUncrossPriceIndFieldState()
getUncrossPriceIndFieldState
|
long |
getUncrossVolume()
getUncrossVolume
|
short |
getUncrossVolumeFieldState()
getUncrossVolumeFieldState
|
void |
onMsg(MamdaSubscription subscription,
com.wombat.mama.MamaMsg msg,
short msgType)
Implementation of MamdaListener interface.
|
public com.wombat.mama.MamaDateTime mSrcTime
public com.wombat.mama.MamaDateTime mActTime
public com.wombat.mama.MamaDateTime mSendTime
public com.wombat.mama.MamaDateTime mLineTime
public com.wombat.mama.MamaDateTime mEventTime
public com.wombat.mama.MamaLong mEventSeqNum
public com.wombat.mama.MamaString mIssueSymbol
public com.wombat.mama.MamaString mPartId
public com.wombat.mama.MamaString mSymbol
public com.wombat.mama.MamaPrice mUncrossPrice
public com.wombat.mama.MamaLong mUncrossVolume
public MamdaUncrossPriceInd mUncrossPriceInd
public MamdaFieldState mSrcTimeFieldState
public MamdaFieldState mActTimeFieldState
public MamdaFieldState mSendTimeFieldState
public MamdaFieldState mLineTimeFieldState
public MamdaFieldState mEventTimeFieldState
public MamdaFieldState mIssueSymbolFieldState
public MamdaFieldState mPartIdFieldState
public MamdaFieldState mSymbolFieldState
public MamdaFieldState mEventSeqNumFieldState
public MamdaFieldState mUncrossPriceFieldState
public MamdaFieldState mUncrossVolumeFieldState
public MamdaFieldState mUncrossPriceIndFieldState
public com.wombat.mama.MamaPrice tmpPrice
public com.wombat.mama.MamaDouble tmpDouble
public void clearCache()
cache - The Auction order cache to clear.public void addHandler(MamdaAuctionHandler handler)
handler - - the handler to be registered.public com.wombat.mama.MamaDateTime getActivityTime()
getActivityTime in interface MamdaBasicEventgetActivityTime in interface MamdaBasicRecapMamdaBasicEvent.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 java.lang.String getIssueSymbol()
public java.lang.String getPartId()
getPartId in interface MamdaBasicRecappublic java.lang.String getSymbol()
getSymbol in interface MamdaBasicRecappublic com.wombat.mama.MamaDateTime getEventTime()
getEventTime in interface MamdaBasicEventpublic long getEventSeqNum()
getEventSeqNum in interface MamdaBasicEventpublic com.wombat.mama.MamaPrice getUncrossPrice()
getUncrossPrice in interface MamdaAuctionRecapgetUncrossPrice in interface MamdaAuctionUpdatepublic long getUncrossVolume()
getUncrossVolume in interface MamdaAuctionRecapgetUncrossVolume in interface MamdaAuctionUpdatepublic short getUncrossPriceInd()
getUncrossPriceInd in interface MamdaAuctionRecapgetUncrossPriceInd in interface MamdaAuctionUpdatepublic short getActivityTimeFieldState()
getActivityTimeFieldState in interface MamdaBasicEventgetActivityTimeFieldState in interface MamdaBasicRecapMamdaBasicEvent.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 getIssueSymbolFieldState()
public short getPartIdFieldState()
getPartIdFieldState in interface MamdaBasicRecappublic short getSymbolFieldState()
getSymbolFieldState in interface MamdaBasicRecappublic short getEventTimeFieldState()
getEventTimeFieldState in interface MamdaBasicEventpublic short getEventSeqNumFieldState()
getEventSeqNumFieldState in interface MamdaBasicEventpublic short getUncrossPriceFieldState()
getUncrossPriceFieldState in interface MamdaAuctionRecapgetUncrossPriceFieldState in interface MamdaAuctionUpdatepublic short getUncrossVolumeFieldState()
getUncrossVolumeFieldState in interface MamdaAuctionRecapgetUncrossVolumeFieldState in interface MamdaAuctionUpdatepublic short getUncrossPriceIndFieldState()
getUncrossPriceIndFieldState in interface MamdaAuctionRecapgetUncrossPriceIndFieldState in interface MamdaAuctionUpdatepublic 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.