public class CoinfloorDemo2
extends Object
The purpose of this class is to show an alternative way. The methods themselves DO return data, and thus allows interaction much in the same way as
the polling data services. It looks messier, since the request and output are all clustered together, but it allows for much more flexibility when
retrieving data (Specifically, look at the section that cancels all orders). Doing it this way removes the need for a secondary queue to pull data
that has been handled already by the executorService.
- Author:
- obsessiveOrange