public class HuobiSocketIOService extends Object implements com.xeiam.xchange.service.streaming.StreamingExchangeService
Constructor and Description |
---|
HuobiSocketIOService(com.xeiam.xchange.ExchangeSpecification exchangeSpecification,
HuobiStreamingConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
com.xeiam.xchange.service.streaming.ExchangeEvent |
getNextEvent() |
org.java_websocket.WebSocket.READYSTATE |
getWebSocketStatus() |
void |
send(String msg) |
public HuobiSocketIOService(com.xeiam.xchange.ExchangeSpecification exchangeSpecification, HuobiStreamingConfiguration configuration)
public void connect()
connect
in interface com.xeiam.xchange.service.streaming.StreamingExchangeService
public void disconnect()
disconnect
in interface com.xeiam.xchange.service.streaming.StreamingExchangeService
public com.xeiam.xchange.service.streaming.ExchangeEvent getNextEvent() throws InterruptedException
getNextEvent
in interface com.xeiam.xchange.service.streaming.StreamingExchangeService
InterruptedException
public void send(String msg)
send
in interface com.xeiam.xchange.service.streaming.StreamingExchangeService
public org.java_websocket.WebSocket.READYSTATE getWebSocketStatus()
getWebSocketStatus
in interface com.xeiam.xchange.service.streaming.StreamingExchangeService
Copyright © 2014–2015. All rights reserved.