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 IdEventServiceTypecreate(IdServerTelemetryServiceType telemetry, IdMetricsServiceType metrics) Create a new event service.voidemit(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:IdEventServiceTypeEmit an event.- Specified by:
emitin interfaceIdEventServiceType- Parameters:
event- The event
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-