Class EventStreamEventBus
java.lang.Object
com.inductiveautomation.eventstream.gateway.eventbus.EventStreamEventBus
- Direct Known Subclasses:
GanEventStreamEventBus
Local message bus for sending messages to
GatewayEventSource-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CompletableFuture<EventResult>execute(Supplier<CompletableFuture<EventResult>> callable) final voidregisterListener(String project, String path, EventStreamEventBus.Listener listener) send(EventStreamEventBus.Payload payload) protected final CompletableFuture<EventResult>sendLocal(EventStreamEventBus.Payload payload) voidshutdown()voidstartup(EventStreamManager manager) final voidunregisterListener(String project, String path)
-
Constructor Details
-
EventStreamEventBus
-
-
Method Details
-
startup
-
shutdown
public void shutdown() -
registerListener
public final void registerListener(String project, String path, EventStreamEventBus.Listener listener) -
unregisterListener
-
send
-
execute
public final CompletableFuture<EventResult> execute(Supplier<CompletableFuture<EventResult>> callable) -
sendLocal
-