Package com.io7m.idstore.server.service.events

# Class IdEventService

java.lang.Object
com.io7m.idstore.server.service.events.IdEventService

All Implemented Interfaces:
  `IdEventServiceType`, `com.io7m.repetoir.core.RPServiceType`

public final class IdEventService extends Object implements IdEventServiceType
The event service.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IdEventServiceType`
  `create(IdServerTelemetryServiceType telemetry, IdMetricsServiceType metrics)`
  Create a new event service.
  `String`
  `description()`
  `void`
  `emit(IdEventType event)`
  Emit an event.
  `String`
  `toString()`

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

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

- ## Method Details

  - ### create

    public static IdEventServiceType create(IdServerTelemetryServiceType telemetry, IdMetricsServiceType metrics)
    Create a new event service.
    Parameters:
      `telemetry` - The telemetry service
      `metrics` - The metrics service
    Returns:
      The event service

  - ### emit

    public void emit(IdEventType event)
    Description copied from interface: `IdEventServiceType`
    Emit an event.
    Specified by:
      `emit` in interface `IdEventServiceType`
    Parameters:
      `event` - The event

  - ### description

    public String description()
    Specified by:
      `description` in interface `com.io7m.repetoir.core.RPServiceType`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`