Class CSEventService
java.lang.Object
com.io7m.certusine.vanilla.internal.events.CSEventService
- All Implemented Interfaces:
CSEventServiceType, com.io7m.repetoir.core.RPServiceType, AutoCloseable
The default event service.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static CSEventServiceTypecreate(CSConfigurationServiceType configuration, CSTelemetryServiceType telemetry) Create a new event service.voidemit(CSEventType event) Emit an event.toString()
-
Method Details
-
create
public static CSEventServiceType create(CSConfigurationServiceType configuration, CSTelemetryServiceType telemetry) Create a new event service.- Parameters:
configuration- The configuration servicetelemetry- The telemetry- Returns:
- A new event service
-
emit
Description copied from interface:CSEventServiceTypeEmit an event.- Specified by:
emitin interfaceCSEventServiceType- Parameters:
event- The event
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-
toString
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-