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 Details

    • create

      public static IdEventServiceType create(com.io7m.repetoir.core.RPServiceDirectoryType services)
      Create a new event service.
      Parameters:
      services - The service directory
      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