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