Package com.wombat.mama.examples
Class MamaListen
- java.lang.Object
-
- com.wombat.mama.examples.MamaListen
-
public class MamaListen extends java.lang.Object
MamaListen - Generic Mama API subscriber.Illustrates the following MAMA API features: 1. Data dictionary initialization. 2. Examining standard fields (e.g. MdMsgType, MdMsgStatus). 3. Walking all received fields in messages. 4. Picking specific fields received in messages. Examples: 1. Display data dictionary with dictionary requested from symbolNamespace "ORDER" (default dictionary symbolNamespace is "WOMBAT" and used in subsequent examples, below). java com.wombat.mama.MamaListen -D -d ORDER -s MSFT.ISLD 2. Subscribing to top-of-book MSFT quote from Island ITCH feed (all fields) where the feed handler symbolNamespace is SOURCE: java com.wombat.mama.MamaListen -S SOURCE -s MSFT.ISLD 3. Subscribing to top-of-book MSFT & ORCL from Island ITCH feed (specific fields): java com.wombat.mama.MamaListen -s MSFT.ISLD -s ORCL.ISLD wBidPrice wBidSize wAskPrice wAskSize wTradePrice wTradeVolume wTotalVolume 4. Subscribing to a list of symbols from a file (all fields): java com.wombat.mama.MamaListen -S WOMABT -f file
-
-
Constructor Summary
Constructors Constructor Description MamaListen()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-