Classes Files

com::wombat::mamda::examples::MamdaMultiPartTicker::ComboTicker

More…

Inherits from com.wombat.mamda.MamdaTradeHandler, com.wombat.mamda.MamdaQuoteHandler, com.wombat.mamda.MamdaStaleListener, com.wombat.mamda.MamdaErrorListener

Public Functions

  Name
void onTradeRecap(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeRecap recap)
void onTradeReport(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeReport trade, final MamdaTradeRecap recap)
void onTradeGap(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeGap event, final MamdaTradeRecap recap)
void onTradeCancelOrError(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeCancelOrError event, final MamdaTradeRecap recap)
void onTradeCorrection(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeCorrection event, final MamdaTradeRecap recap)
void onTradeClosing(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeClosing event, final MamdaTradeRecap recap)
void onQuoteRecap(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteRecap recap)
void onQuoteUpdate(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteUpdate event, final MamdaQuoteRecap recap)
void onQuoteGap(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteGap event, final MamdaQuoteRecap recap)
void onQuoteClosing(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteClosing event, final MamdaQuoteRecap recap)
void onStale(MamdaSubscription subscription, short quality)
void onError(MamdaSubscription subscription, short severity, short errorCode, String errorStr)

Detailed Description

class com::wombat::mamda::examples::MamdaMultiPartTicker::ComboTicker;

Is a MamdaTradeHandler and a MamdaQuoteHandler.

Can be used to handler callbacks from both a TradeListener and a QuoteListener.

Public Functions Documentation

function onTradeRecap

inline void onTradeRecap(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeRecap recap
)

function onTradeReport

inline void onTradeReport(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeReport trade,
    final MamdaTradeRecap recap
)

function onTradeGap

inline void onTradeGap(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeGap event,
    final MamdaTradeRecap recap
)

function onTradeCancelOrError

inline void onTradeCancelOrError(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeCancelOrError event,
    final MamdaTradeRecap recap
)

function onTradeCorrection

inline void onTradeCorrection(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeCorrection event,
    final MamdaTradeRecap recap
)

function onTradeClosing

inline void onTradeClosing(
    final MamdaSubscription sub,
    final MamdaTradeListener listener,
    final MamaMsg msg,
    final MamdaTradeClosing event,
    final MamdaTradeRecap recap
)

function onQuoteRecap

inline void onQuoteRecap(
    final MamdaSubscription sub,
    final MamdaQuoteListener listener,
    final MamaMsg msg,
    final MamdaQuoteRecap recap
)

function onQuoteUpdate

inline void onQuoteUpdate(
    final MamdaSubscription sub,
    final MamdaQuoteListener listener,
    final MamaMsg msg,
    final MamdaQuoteUpdate event,
    final MamdaQuoteRecap recap
)

function onQuoteGap

inline void onQuoteGap(
    final MamdaSubscription sub,
    final MamdaQuoteListener listener,
    final MamaMsg msg,
    final MamdaQuoteGap event,
    final MamdaQuoteRecap recap
)

function onQuoteClosing

inline void onQuoteClosing(
    final MamdaSubscription sub,
    final MamdaQuoteListener listener,
    final MamaMsg msg,
    final MamdaQuoteClosing event,
    final MamdaQuoteRecap recap
)

function onStale

inline void onStale(
    MamdaSubscription subscription,
    short quality
)

function onError

inline void onError(
    MamdaSubscription subscription,
    short severity,
    short errorCode,
    String errorStr
)

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