Class OnConnectFailedEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnConnectFailedEvent

public abstract class OnConnectFailedEvent extends Event
Triggered when the connection to the server has failed.
  • Constructor Details

    • OnConnectFailedEvent

      public OnConnectFailedEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(String error)
      Called Event Handling Method
      Parameters:
      error - The error message describing the reason for the connection failure.