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 interface
static final record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CompletableFuture<EventResult>
execute
(Supplier<CompletableFuture<EventResult>> callable) final void
registerListener
(String project, String path, EventStreamEventBus.Listener listener) send
(EventStreamEventBus.Payload payload) protected final CompletableFuture<EventResult>
sendLocal
(EventStreamEventBus.Payload payload) void
shutdown()
void
startup
(EventStreamManager manager) final void
unregisterListener
(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
-