Package com.github.twitch4j.chat.events
Klasse ChatConnectionStateEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.ChatConnectionStateEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
Chat Connection Event
Called when a chat socket's connection status changes.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungChatConnectionStateEvent(WebsocketConnectionState previousState, WebsocketConnectionState state, TwitchChat connection) -
Methodenübersicht
Von Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
ChatConnectionStateEvent
public ChatConnectionStateEvent(WebsocketConnectionState previousState, WebsocketConnectionState state, TwitchChat connection)
-
-
Methodendetails
-
getPreviousState
The previous state of the websocket. -
getState
The updated state of the websocket. -
getConnection
The chat instance whose connection status changed. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-