com.xeiam.xchange.examples.coinsetter.CoinsetterPingDemo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-examples Show documentation
Show all versions of xchange-examples Show documentation
Provides a set of examples that demonstrate how to use XChange in client applications
The newest version!
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);
String text = pingService.ping("HelloWorld");
log.info("ping result: {}", text);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy