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

META-INF.frontend.vaadin-dev-tools.connection.d.ts Maven / Gradle / Ivy

There is a newer version: 24.7.0
Show newest version
export declare enum ConnectionStatus {
    ACTIVE = "active",
    INACTIVE = "inactive",
    UNAVAILABLE = "unavailable",
    ERROR = "error"
}
export declare abstract class Connection {
    static HEARTBEAT_INTERVAL: number;
    status: ConnectionStatus;
    onHandshake(): void;
    onConnectionError(_: string): void;
    onStatusChange(_: ConnectionStatus): void;
    setActive(yes: boolean): void;
    setStatus(status: ConnectionStatus): void;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy