LeonidShamis / TestSubscribeChannel

Simulate Subscribing to Channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulate Subscribing to Channel

Simplified demonstration of the issue bitrich-info/xchange-stream#8 (comment)

NOTES:

  • Not really creating any streams, not using Observables
  • Calling Marker Data service with currenly pair only:
	streamingMDService.getTicker(currencyPair);

Output (running checkit.Main in IntelliJ IDEA):

Going to subscribe to channel for BTC-USD ...
Sent subscribe message: { event: subscribe, channel: BTC-USD }
Ticker: Here is a Ticker for channel BTC-USD

About

Simulate Subscribing to Channel


Languages

Language:Java 100.0%