Classes Files

Wombat::MamdaMsgListener

MamdaMsgListener defines an interface for handling normal messages for a MamdaSubscription.

Inherited by Wombat.MamdaAuctionListener, Wombat.MamdaBookAtomicListener, Wombat.MamdaFundamentalListener, Wombat.MamdaMultiParticipantManager, Wombat.MamdaMultiSecurityManager, Wombat.MamdaOptionChainListener, Wombat.MamdaOrderBookListener, Wombat.MamdaOrderImbalanceListener, Wombat.MamdaQuoteListener, Wombat.MamdaSecurityStatusListener, Wombat.MamdaTradeListener

Public Functions

  Name
void onMsg(MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType)
Invoked for each message received for the subscription to which the Listener is registered.

Public Functions Documentation

function onMsg

void onMsg(
    MamdaSubscription subscription,
    MamaMsg msg,
    mamaMsgType 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.

Reimplemented by: Wombat::MamdaAuctionListener::onMsg, Wombat::MamdaFundamentalListener::onMsg, Wombat::MamdaMultiParticipantManager::onMsg, Wombat::MamdaMultiSecurityManager::onMsg, Wombat::MamdaOrderImbalanceListener::onMsg, Wombat::MamdaQuoteListener::onMsg, Wombat::MamdaSecurityStatusListener::onMsg, Wombat::MamdaTradeListener::onMsg, Wombat::MamdaOptionChainListener::onMsg, Wombat::MamdaBookAtomicListener::onMsg, Wombat::MamdaOrderBookListener::onMsg


Updated on 2023-03-31 at 15:30:12 +0100