Class OnAcceptedTradeEvent

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

public abstract class OnAcceptedTradeEvent extends Event
Triggered when a trade request has been accepted.
  • Constructor Details

    • OnAcceptedTradeEvent

      public OnAcceptedTradeEvent()
  • 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(Boolean accepted)
      Called Event Handling Method
      Parameters:
      accepted - Whether the trade was accepted or not.