Classes Files

com::wombat::mamda::examples::MamdaBookPublisher

Inherits from MamaDQPublisherManagerCallback, MamaTimerCallback

Public Functions

  Name
  MamdaBookPublisher()
void onTimer(MamaTimer timer)
void processOrder()
MamdaOrderBook getBook()
MamaMsg getPublishMsg()
void publishMessage(MamaMsg request)
void createMsg()
void createBook(final String symbol, final String partId)
void createPublisherTransport(MamaBridge bridge)
void createPublisherManager(final String pubSource, MamaBridge bridge)
void createTimer(final String symbol, MamaBridge bridge)
void setProcessEntries(boolean process)
void setQueueGroup(MamaQueueGroup queues)
boolean publishingSymbol(String symbol)
MamaQueueGroup getQueueGroup()
void onNewRequest(MamaDQPublisherManager publisherManager, final String symbol, short subType, short msgType, MamaMsg msg)
void onRequest(MamaDQPublisherManager publisherManager, MamaDQPublisherManager.MamaPublishTopic mamaPublishTopic, short subType, short msgType, MamaMsg msg)
void onRefresh(MamaDQPublisherManager publisherManager, MamaDQPublisherManager.MamaPublishTopic mamaPublishTopic, short subType, short msgType, MamaMsg msg)
void onError(MamaDQPublisherManager publisher, final short status, final String errortxt, MamaMsg msg)
void onCreate(MamaDQPublisherManager publisher)
void onDestroy(MamaTimer timer)
void main(final String[] args)

Public Attributes

  Name
MamaMsg mPublishMsg
char bidSide
char askSide
final char PLADD
final char PLUPDATE
final char PLDELETE
final char PLUNKNOWN
final char ENTADD
final char ENTUPDATE
final char ENTDELETE

Public Functions Documentation

function MamdaBookPublisher

inline MamdaBookPublisher()

function onTimer

inline void onTimer(
    MamaTimer timer
)

function processOrder

inline void processOrder()

function getBook

inline MamdaOrderBook getBook()

function getPublishMsg

inline MamaMsg getPublishMsg()

function publishMessage

inline void publishMessage(
    MamaMsg request
)

function createMsg

inline void createMsg()

function createBook

inline void createBook(
    final String symbol,
    final String partId
)

function createPublisherTransport

inline void createPublisherTransport(
    MamaBridge bridge
)

function createPublisherManager

inline void createPublisherManager(
    final String pubSource,
    MamaBridge bridge
)

function createTimer

inline void createTimer(
    final String symbol,
    MamaBridge bridge
)

function setProcessEntries

inline void setProcessEntries(
    boolean process
)

function setQueueGroup

inline void setQueueGroup(
    MamaQueueGroup queues
)

function publishingSymbol

inline boolean publishingSymbol(
    String symbol
)

function getQueueGroup

inline MamaQueueGroup getQueueGroup()

function onNewRequest

inline void onNewRequest(
    MamaDQPublisherManager publisherManager,
    final String symbol,
    short subType,
    short msgType,
    MamaMsg msg
)

function onRequest

inline void onRequest(
    MamaDQPublisherManager publisherManager,
    MamaDQPublisherManager.MamaPublishTopic mamaPublishTopic,
    short subType,
    short msgType,
    MamaMsg msg
)

function onRefresh

inline void onRefresh(
    MamaDQPublisherManager publisherManager,
    MamaDQPublisherManager.MamaPublishTopic mamaPublishTopic,
    short subType,
    short msgType,
    MamaMsg msg
)

function onError

inline void onError(
    MamaDQPublisherManager publisher,
    final short status,
    final String errortxt,
    MamaMsg msg
)

function onCreate

inline void onCreate(
    MamaDQPublisherManager publisher
)

function onDestroy

inline void onDestroy(
    MamaTimer timer
)

function main

static inline void main(
    final String[] args
)

Public Attributes Documentation

variable mPublishMsg

MamaMsg mPublishMsg = null;

variable bidSide

char bidSide = MamdaOrderBookPriceLevel.SIDE_BID;

variable askSide

char askSide = MamdaOrderBookPriceLevel.SIDE_ASK;

variable PLADD

static final char PLADD = MamdaOrderBookPriceLevel.ACTION_ADD;

variable PLUPDATE

static final char PLUPDATE = MamdaOrderBookPriceLevel.ACTION_UPDATE;

variable PLDELETE

static final char PLDELETE = MamdaOrderBookPriceLevel.ACTION_DELETE;

variable PLUNKNOWN

static final char PLUNKNOWN = MamdaOrderBookPriceLevel.ACTION_UNKNOWN;

variable ENTADD

static final char ENTADD = MamdaOrderBookEntry.ACTION_ADD;

variable ENTUPDATE

static final char ENTUPDATE = MamdaOrderBookEntry.ACTION_UPDATE;

variable ENTDELETE

static final char ENTDELETE = MamdaOrderBookEntry.ACTION_DELETE;

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