Interface IConnectionEventQueue


public interface IConnectionEventQueue
Queue of connection events
  • Method Details

    • hasEventsWaiting

      boolean hasEventsWaiting(IConnection conn)
      Whether queue has waiting connection events
      Parameters:
      conn - Connection
      Returns:
      true if queue has waiting events for connection, false otherwise
    • pickupEvents

      Iterator<IEvent> pickupEvents(IConnection conn)
      Return iterator over waiting events
      Parameters:
      conn - Connection
      Returns:
      Iterator over events