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

org.yamcs.client.base.WebSocketClientCallback Maven / Gradle / Ivy

There is a newer version: 5.10.8
Show newest version
package org.yamcs.client.base;

public interface WebSocketClientCallback {

    /**
     * When a connection attempt is underway
     */
    default void connecting() {
    }

    /**
     * When the connection was successfully established
     */
    default void connected() {
    }

    /**
     * When the initial connection attempt failed
     */
    default void connectionFailed(Throwable t) {
    }

    /**
     * When a previously successful connection was disconnected
     */
    default void disconnected() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy