public static BlockingQueue<CoinfloorExchangeEvent> secondaryQueue = new LinkedBlockingQueue<CoinfloorExchangeEvent>();
public static void main(String[] args) throws InterruptedException, ExecutionException {
ExchangeSpecification exSpec = new ExchangeSpecification(CoinfloorExchange.class);
exSpec.setUserName("163");
exSpec.setExchangeSpecificParametersItem("cookie", "X1UC55QE4WXNZMKfP4FfCsxKVfw=");
exSpec.setPassword("2QvxAyUvPTIX8mrCvH");
exSpec.setPlainTextUriStreaming("ws://api.coinfloor.co.uk");
exSpec.setSslUriStreaming("wss://api.coinfloor.co.uk");
exSpec.setHost("coinfloor.co.uk");
exSpec.setPort(80);
Exchange coinfloorExchange = ExchangeFactory.INSTANCE.createExchange(exSpec);
// Streaming exchange service can be instantiated in one of two ways:
// //Using default vars (commented out to prevent conflicts for this demo)