public abstract class HuobiSocketAdapter extends Object implements HuobiSocketListener
Constructor and Description |
---|
HuobiSocketAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
on(String event,
io.socket.IOAcknowledge ack,
com.google.gson.JsonElement... args) |
void |
onConnect() |
void |
onDisconnect() |
void |
onError(io.socket.SocketIOException socketIOException) |
void |
onMessage(com.google.gson.JsonElement json,
io.socket.IOAcknowledge ack) |
void |
onMessage(String data,
io.socket.IOAcknowledge ack) |
public void onConnect()
onConnect
in interface io.socket.IOCallback
public void onDisconnect()
onDisconnect
in interface io.socket.IOCallback
public void onError(io.socket.SocketIOException socketIOException)
onError
in interface io.socket.IOCallback
public void onMessage(String data, io.socket.IOAcknowledge ack)
onMessage
in interface io.socket.IOCallback
public void onMessage(com.google.gson.JsonElement json, io.socket.IOAcknowledge ack)
onMessage
in interface io.socket.IOCallback
public void on(String event, io.socket.IOAcknowledge ack, com.google.gson.JsonElement... args)
on
in interface io.socket.IOCallback
Copyright © 2014–2015. All rights reserved.