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 Details

    • TwitchEvent

      public TwitchEvent()
      Constructor
    • TwitchEvent

      public TwitchEvent(String eventId, Instant firedAt)
      Constructor
      Parameters:
      eventId - Unique event id
      firedAt - Timestamp of the event firing
  • Method Details

    • getTwitchChat

      public TwitchChat getTwitchChat()
      Get TwitchChat
      Returns:
      TwitchChat Instance
    • toString

      public String toString()
      Overrides:
      toString in class com.github.philippheuer.events4j.core.domain.Event
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.github.philippheuer.events4j.core.domain.Event
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class com.github.philippheuer.events4j.core.domain.Event
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.github.philippheuer.events4j.core.domain.Event