All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.binance.connector.client.utils.websocketcallback.WebSocketClosedCallback Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.binance.connector.client.utils.websocketcallback;

@FunctionalInterface
public interface WebSocketClosedCallback {
    /**
     * onclosed will be called when websocket connection has been successfully released. No further calls to this listener will be made.
     *
     * @param code The code send by server.
     * @param reason The reason send by server.
     */

    void onClosed(int code, String reason);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy