com.wombat.mamda
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 MamdaBasicEvent
getActivityTime
in interface MamdaBasicRecap
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 java.lang.String getIssueSymbol()
public java.lang.String getPartId()
getPartId
in interface MamdaBasicRecap
public java.lang.String getSymbol()
getSymbol
in interface MamdaBasicRecap
public com.wombat.mama.MamaDateTime getEventTime()
getEventTime
in interface MamdaBasicEvent
public long getEventSeqNum()
getEventSeqNum
in interface MamdaBasicEvent
public com.wombat.mama.MamaPrice getUncrossPrice()
getUncrossPrice
in interface MamdaAuctionRecap
getUncrossPrice
in interface MamdaAuctionUpdate
public long getUncrossVolume()
getUncrossVolume
in interface MamdaAuctionRecap
getUncrossVolume
in interface MamdaAuctionUpdate
public short getUncrossPriceInd()
getUncrossPriceInd
in interface MamdaAuctionRecap
getUncrossPriceInd
in interface MamdaAuctionUpdate
public short getActivityTimeFieldState()
getActivityTimeFieldState
in interface MamdaBasicEvent
getActivityTimeFieldState
in interface MamdaBasicRecap
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 getIssueSymbolFieldState()
public short getPartIdFieldState()
getPartIdFieldState
in interface MamdaBasicRecap
public short getSymbolFieldState()
getSymbolFieldState
in interface MamdaBasicRecap
public short getEventTimeFieldState()
getEventTimeFieldState
in interface MamdaBasicEvent
public short getEventSeqNumFieldState()
getEventSeqNumFieldState
in interface MamdaBasicEvent
public short getUncrossPriceFieldState()
getUncrossPriceFieldState
in interface MamdaAuctionRecap
getUncrossPriceFieldState
in interface MamdaAuctionUpdate
public short getUncrossVolumeFieldState()
getUncrossVolumeFieldState
in interface MamdaAuctionRecap
getUncrossVolumeFieldState
in interface MamdaAuctionUpdate
public short getUncrossPriceIndFieldState()
getUncrossPriceIndFieldState
in interface MamdaAuctionRecap
getUncrossPriceIndFieldState
in interface MamdaAuctionUpdate
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.