Processing QuoteResponse
action receiveQuotes(CurrentQuotebookInterface cqbIFace) {
sequence<com.apama.md.client.QuoteEntry> bidEntries := cqbIFace.getRawBids();
sequence<com.apama.md.client.QuoteEntry> askEntries := cqbIFace.getRawAsks();
com.apama.md.EP ep:=cqbIFace.getEP();
//Retrieve QuoteID and Price from Each Entry
com.apama.md.client.QuoteEntry entry;
for entry in bidEntries {
log entry.getQuoteId() at INFO;
log entry.getPrice().toString() at INFO;
log entry.getQuantity().toString() at INFO;
log entry.getEPValuesInterface() at INFO;
}
}