public class PeatioClientEndpoint extends Object
Constructor and Description |
---|
PeatioClientEndpoint(String accessKey,
String secretKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
onChallenge(String challenge,
javax.websocket.Session session) |
void |
onClose(javax.websocket.Session session,
javax.websocket.CloseReason reason) |
void |
onError(javax.websocket.Session session,
Throwable throwable) |
void |
onMessage(PeatioData data,
javax.websocket.Session session) |
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config) |
protected void |
onOrderBook(OrderBook orderBook,
javax.websocket.Session sesssion) |
protected void |
onTrade(Trade trade,
javax.websocket.Session session) |
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig config)
public void onMessage(PeatioData data, javax.websocket.Session session) throws IOException, javax.websocket.EncodeException
IOException
javax.websocket.EncodeException
public void onClose(javax.websocket.Session session, javax.websocket.CloseReason reason)
public void onError(javax.websocket.Session session, Throwable throwable)
protected void onChallenge(String challenge, javax.websocket.Session session) throws IOException, javax.websocket.EncodeException
IOException
javax.websocket.EncodeException
protected void onOrderBook(OrderBook orderBook, javax.websocket.Session sesssion)
protected void onTrade(Trade trade, javax.websocket.Session session)
Copyright © 2015. All rights reserved.