Class IdEventService
java.lang.Object
com.io7m.idstore.server.service.telemetry.api.IdEventService
- All Implemented Interfaces:
IdEventServiceType
,com.io7m.repetoir.core.RPServiceType
The event service.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdEventServiceType
create
(IdServerTelemetryServiceType telemetry, IdMetricsServiceType metrics) Create a new event service.void
emit
(IdEventType event) Emit an event.toString()
-
Method Details
-
create
public static IdEventServiceType create(IdServerTelemetryServiceType telemetry, IdMetricsServiceType metrics) Create a new event service.- Parameters:
telemetry
- The telemetry servicemetrics
- The metrics service- Returns:
- The event service
-
emit
Description copied from interface:IdEventServiceType
Emit an event.- Specified by:
emit
in interfaceIdEventServiceType
- Parameters:
event
- The event
-
description
- Specified by:
description
in interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-