Class OnServerPingedEvent

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

public abstract class OnServerPingedEvent extends Event
Triggered when the game client receives the response after intiating a ping to a server.
  • Constructor Details

    • OnServerPingedEvent

      public OnServerPingedEvent()
  • 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 ipAddress, String user)
      Called Event Handling Method
      Parameters:
      ipAddress - The IP address of the user who pinged the server.
      user - The name of the user who pinged the server.