Class EventSocketClosedByTwitchEvent
java.lang.Object
com.github.twitch4j.eventsub.socket.events.EventSocketClosedByTwitchEvent
Called when Twitch decides to close our EventSocket.
-
Constructor Summary
ConstructorDescriptionEventSocketClosedByTwitchEvent
(SocketCloseReason reason, TwitchEventSocket connection) Creates a newEventSocketClosedByTwitchEvent
instance. -
Method Summary
-
Constructor Details
-
EventSocketClosedByTwitchEvent
Creates a newEventSocketClosedByTwitchEvent
instance.- Parameters:
reason
- The reported reason for why Twitch closed the EventSocket connection.connection
- The EventSocket instance whose connection status changed.
-
-
Method Details
-
getReason
The reported reason for why Twitch closed the EventSocket connection. -
getConnection
The EventSocket instance whose connection status changed. -
equals
-
hashCode
public int hashCode() -
toString
-