Package com.wombat.mamda
Interface MamdaAuctionHandler
-
public interface MamdaAuctionHandler
MamdaAuctionHandler is an interface for applications that want to have an easy way to handle auction updates. The interface defines callback methods for different types of auction-related events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAuctionRecap(MamdaSubscription subscription, MamdaAuctionListener listener, com.wombat.mama.MamaMsg msg, MamdaAuctionRecap recap)
Method invoked when the current auction information for the security is available.void
onAuctionUpdate(MamdaSubscription subscription, MamdaAuctionListener listener, com.wombat.mama.MamaMsg msg, MamdaAuctionRecap recap, MamdaAuctionUpdate update)
Method invoked when one or more of the Auction fields have been updated by one of the following market data events: - Initial image.
-
-
-
Method Detail
-
onAuctionRecap
void onAuctionRecap(MamdaSubscription subscription, MamdaAuctionListener listener, com.wombat.mama.MamaMsg msg, MamdaAuctionRecap recap)
Method invoked when the current auction information for the security is available. The reason for the invocation may be any of the following: - Initial image. - Recap update (e.g., after server fault tolerant event or data quality event.) - After stale status removed.- Parameters:
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.recap
- Access to the full auction recap details.
-
onAuctionUpdate
void onAuctionUpdate(MamdaSubscription subscription, MamdaAuctionListener listener, com.wombat.mama.MamaMsg msg, MamdaAuctionRecap recap, MamdaAuctionUpdate update)
Method invoked when one or more of the Auction fields have been updated by one of the following market data events: - Initial image. - Recap update (e.g., after server fault tolerant event or data quality event.) - Generic update..- Parameters:
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.recap
- Access to the full auction recap details.update
- Access to the auction update details.
-
-