Package com.io7m.idstore.server.internal
Class IdServerEventBusService
java.lang.Object
com.io7m.idstore.server.internal.IdServerEventBusService
- All Implemented Interfaces:
IdServiceType,AutoCloseable
A service exposing the event bus.
-
Constructor Summary
ConstructorsConstructorDescriptionA service exposing the event bus. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidpublish(IdServerEventType event) Publish an event.toString()
-
Constructor Details
-
IdServerEventBusService
A service exposing the event bus.- Parameters:
inSubject- An event subject
-
-
Method Details
-
description
- Specified by:
descriptionin interfaceIdServiceType- Returns:
- The service description
-
publish
Publish an event.- Parameters:
event- The event
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-