use of com.github.jnidzwetzki.bitfinex.v2.callback.command.DoNothingCommandCallback in project bitfinex-v2-wss-api-java by jnidzwetzki.
the class BitfinexApiBroker method setupCommandCallbacks.
/**
* Setup the command callbacks
*/
private void setupCommandCallbacks() {
commandCallbacks = new HashMap<>();
commandCallbacks.put("info", new DoNothingCommandCallback());
commandCallbacks.put("subscribed", new SubscribedCallback());
commandCallbacks.put("pong", new ConnectionHeartbeatCallback());
commandCallbacks.put("unsubscribed", new UnsubscribedCallback());
commandCallbacks.put("auth", new AuthCallbackHandler());
}
Aggregations