Package com.xeiam.xchange.examples.coinsetter

Source Code of com.xeiam.xchange.examples.coinsetter.CoinsetterPingDemo

package com.xeiam.xchange.examples.coinsetter;

import java.io.IOException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.coinsetter.service.polling.CoinsetterPingServiceRaw;

public class CoinsetterPingDemo {

  private static final Logger log = LoggerFactory.getLogger(CoinsetterPingDemo.class);

  public static void main(String[] args) throws IOException {

    Exchange coinsetter = CoinsetterExamplesUtils.getExchange();
    CoinsetterPingServiceRaw pingService = new CoinsetterPingServiceRaw(coinsetter.getExchangeSpecification());

    String text = pingService.ping("HelloWorld");
    log.info("ping result: {}", text);
  }

}
TOP

Related Classes of com.xeiam.xchange.examples.coinsetter.CoinsetterPingDemo

TOP
Copyright © 2018 www.massapi.com. 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.