GuiLogEventBus (Apache JMeter dist API)
Description: declaration: package: org.apache.jmeter.gui.logging, class: GuiLogEventBus

Package org.apache.jmeter.gui.logging

# Class GuiLogEventBus

java.lang.Object
org.apache.jmeter.gui.logging.GuiLogEventBus

public class GuiLogEventBus extends Object
GUI Log Event Bus.

Since:
  3.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GuiLogEventBus()`
  Default constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `postEvent(LogEventObject logEventObject)`
  Post a log event object.
  `void`
  `registerEventListener(GuiLogEventListener listener)`
  Register a GUI log event listener (`GuiLogEventListener`).
  `void`
  `unregisterEventListener(GuiLogEventListener listener)`
  Unregister a GUI log event listener (`GuiLogEventListener`).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GuiLogEventBus

    public GuiLogEventBus()
    Default constructor.

- ## Method Details

  - ### registerEventListener

    public void registerEventListener(GuiLogEventListener listener)
    Register a GUI log event listener (`GuiLogEventListener`).
    Parameters:
      `listener` - a GUI log event listener (`GuiLogEventListener`)

  - ### unregisterEventListener

    public void unregisterEventListener(GuiLogEventListener listener)
    Unregister a GUI log event listener (`GuiLogEventListener`).
    Parameters:
      `listener` - a GUI log event listener (`GuiLogEventListener`)

  - ### postEvent

    public void postEvent(LogEventObject logEventObject)
    Post a log event object.
    Parameters:
      `logEventObject` - log event object