Class Client.EventQueue

java.lang.Object
com.jbstrap.core.websocket.Client.EventQueue
All Implemented Interfaces:
Runnable
Enclosing class:
Client

public class Client.EventQueue extends Object implements Runnable
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • EventQueue

      public EventQueue()
  • Method Details

    • add

      public void add(BaseEvent event)
      Parameters:
      event - The new event
    • clear

      public void clear()
    • stream

      public Stream<BaseEvent> stream()
    • remove

      public boolean remove(BaseEvent event)
    • getReturnEvent

      public ReturnEvent getReturnEvent(String sourceId)
    • isActive

      public boolean isActive()
    • run

      public void run()
      Specified by:
      run in interface Runnable