Package com.github.twitch4j.chat.events
Class TwitchEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
- All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent
- Direct Known Subclasses:
AbstractChannelEvent
,CommandEvent
,GlobalUserStateEvent
,InboundHostEvent
,IRCMessageEvent
public abstract class TwitchEvent
extends com.github.philippheuer.events4j.core.domain.Event
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Constructor Details
-
TwitchEvent
public TwitchEvent()Constructor -
TwitchEvent
Constructor- Parameters:
eventId
- Unique event idfiredAt
- Timestamp of the event firing
-
-
Method Details
-
getTwitchChat
Get TwitchChat- Returns:
- TwitchChat Instance
-
toString
- Overrides:
toString
in classcom.github.philippheuer.events4j.core.domain.Event
-
equals
- Overrides:
equals
in classcom.github.philippheuer.events4j.core.domain.Event
-
canEqual
- Overrides:
canEqual
in classcom.github.philippheuer.events4j.core.domain.Event
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.github.philippheuer.events4j.core.domain.Event
-