Interface BrowserEventCollector

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
BidiBrowserEventCollector, CompositeBrowserEventCollector, PollingBrowserEventCollector

public interface BrowserEventCollector extends AutoCloseable
Collects browser signals without persisting unclassified values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Stops collection and releases protocol listeners.
    void
    start(Consumer<BrowserSignal> signalConsumer, Consumer<String> warningConsumer)
    Starts event collection.
  • Method Details

    • start

      void start(Consumer<BrowserSignal> signalConsumer, Consumer<String> warningConsumer)
      Starts event collection.
      Parameters:
      signalConsumer - signal destination
      warningConsumer - safe warning destination
    • close

      void close()
      Stops collection and releases protocol listeners.
      Specified by:
      close in interface AutoCloseable