Package com.xeiam.xchange.coinsetter.service.streaming

Examples of com.xeiam.xchange.coinsetter.service.streaming.CoinsetterStreamingConfiguration


  }

  @Override
  public StreamingExchangeService getStreamingExchangeService(ExchangeStreamingConfiguration configuration) {

    final CoinsetterStreamingConfiguration coinsetterStreamingConfiguration;

    if (configuration == null) {
      coinsetterStreamingConfiguration = new CoinsetterStreamingConfiguration();
      coinsetterStreamingConfiguration.addAllMarketDataEvents();
    }
    else if (configuration instanceof CoinsetterStreamingConfiguration) {
      coinsetterStreamingConfiguration = (CoinsetterStreamingConfiguration) configuration;
    }
    else {
View Full Code Here


    SLF4JBridgeHandler.removeHandlersForRootLogger();
    SLF4JBridgeHandler.install();

    String customerUuid = args.length > 0 ? args[0] : null;

    CoinsetterStreamingConfiguration configuration = new CoinsetterStreamingConfiguration();
    configuration.addAllMarketDataEvents();

    if (customerUuid != null) {
      configuration.addEvent("orders room", customerUuid);
    }

    final Exchange coinsetter = ExchangeFactory.INSTANCE.createExchange(CoinsetterExchange.class.getName());
    final StreamingExchangeService service = coinsetter.getStreamingExchangeService(configuration);
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.coinsetter.service.streaming.CoinsetterStreamingConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.