Class ReplayController

java.lang.Object
gg.xp.xivsupport.replay.ReplayController

public class ReplayController extends Object
  • Constructor Details

  • Method Details

    • getCounts

      public EventsCount getCounts()
    • addCallback

      public void addCallback(Runnable r)
    • advanceBy

      public int advanceBy(int count)
      Advance by a certain number of events. While this is synchronous in the sense that it will not return until the events have been enqueued, it is not asynchronous in the sense that events are merely enqueued rather than processed immediately.
      Parameters:
      count - Count to advance by
      Returns:
      Actual count advanced by, which will be less than 'count' if there were less than 'count' events remaining in the replay.
    • preProcessEvent

      protected void preProcessEvent(Event event)
    • advanceByAsync

      public void advanceByAsync(int count)
    • advanceByAsyncWhile

      public Future<?> advanceByAsyncWhile(Supplier<Boolean> advWhile)
    • hasMoreEvents

      public boolean hasMoreEvents()