Classes Files

com::wombat::mamda::examples::MamdaMultiPartTicker::MultiPartHandler

More…

Inherits from com.wombat.mamda.MamdaMultiParticipantHandler

Public Functions

  Name
void onConsolidatedCreate(MamdaSubscription subscription, MamdaMultiParticipantManager manager)
void onParticipantCreate(MamdaSubscription subscription, MamdaMultiParticipantManager manager, String particpantId, MamaBoolean isPrimary)

Detailed Description

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

Implementation of the [MamdaMultiParticipantHandler](interfacecom_1_1wombat_1_1mamda_1_1MamdaMultiParticipantHandler.html) interface.

Here we are adding a trade and quote listener for every participant and consolidated update as part of the underlying group subscription. The assumption here is that we are interested in all trade and quote information for all participants.

Public Functions Documentation

function onConsolidatedCreate

inline void onConsolidatedCreate(
    MamdaSubscription subscription,
    MamdaMultiParticipantManager manager
)

function onParticipantCreate

inline void onParticipantCreate(
    MamdaSubscription subscription,
    MamdaMultiParticipantManager manager,
    String particpantId,
    MamaBoolean isPrimary
)

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