Package com.wombat.mamda
Interface MamdaMsgListener
-
- All Known Implementing Classes:
MamdaAuctionListener
,MamdaBookAtomicListener
,MamdaFundamentalListener
,MamdaMultiParticipantManager
,MamdaMultiSecurityManager
,MamdaOptionChainListener
,MamdaOrderBookListener
,MamdaOrderImbalanceListener
,MamdaQuoteListener
,MamdaSecurityStatusListener
,MamdaTradeListener
public interface MamdaMsgListener
MamdaMsgListener defines an interface for handling normal messages for a MamdaSubscription.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
Invoked for each message received for the subscription to which the Listener is registered.
-
-
-
Method Detail
-
onMsg
void onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
Invoked for each message received for the subscription to which the Listener is registered.- Parameters:
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.
-
-