| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProtoService.Channel<S,M>
Identifies service specific channels in the context
of a
ProtoService implementation. |
| Modifier and Type | Method and Description |
|---|---|
<M> void |
Audience.add(Channel<M> channel,
Consumer<? super M> listener) |
<M> void |
Registry.add(Channel<M> channel,
Consumer<? super M> listener)
Registers a listener with this registry to receive messages that are triggered based on a specific
event.
|
<M> void |
Audience.send(Channel<M> channel,
M message)
Sends a given message to all listeners that have registered
for the given
Channel. |
Copyright © 2023 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.