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

com.github.twitch4j.eventsub.socket.events.EventSocketClosedByTwitchEvent Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
package com.github.twitch4j.eventsub.socket.events;

import com.github.twitch4j.eventsub.socket.TwitchEventSocket;
import com.github.twitch4j.eventsub.socket.domain.SocketCloseReason;
import lombok.Value;

/**
 * Called when Twitch decides to close our EventSocket.
 */
@Value
public class EventSocketClosedByTwitchEvent {

    /**
     * The reported reason for why Twitch closed the EventSocket connection.
     */
    SocketCloseReason reason;

    /**
     * The EventSocket instance whose connection status changed.
     */
    TwitchEventSocket connection;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy