Klasse PubSubListenResponseEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.common.events.TwitchEvent
com.github.twitch4j.pubsub.events.PubSubListenResponseEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPubSubListenResponseEvent(String nonce, String error, Supplier<PubSubRequest> listenRequestSupplier) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleangetError()The error message associated with the request, or an empty string if there is no error.getNonce()The nonce that was passed in the request, if one was provided there.booleanhasError()inthashCode()booleanbooleanbooleanbooleantoString()Von Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
PubSubListenResponseEvent
public PubSubListenResponseEvent(String nonce, String error, Supplier<PubSubRequest> listenRequestSupplier)
-
-
Methodendetails
-
getListenRequest
- Gibt zurück:
- the listen request associated with this response.
-
hasError
public boolean hasError() -
isBadAuthentication
public boolean isBadAuthentication() -
isBadMessage
public boolean isBadMessage() -
isBadTopic
public boolean isBadTopic() -
isServerError
public boolean isServerError() -
getNonce
The nonce that was passed in the request, if one was provided there. -
getError
The error message associated with the request, or an empty string if there is no error. -
toString
- Setzt außer Kraft:
toStringin KlasseTwitchEvent
-
equals
- Setzt außer Kraft:
equalsin KlasseTwitchEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseTwitchEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseTwitchEvent
-