Interface BroadcastDeliverHandler<T extends BabelMessage>
- Type Parameters:
T- the concreteBabelMessagetype this handler processes
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface invoked when a broadcast message is delivered to a
BroadcastConsumerBabelProtocol.
Instances are created by BroadcastConsumerExtension to wrap protocol methods annotated with
@UponBroadcastDeliver.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleDeliver(T message, BabelNode node) Handles a broadcast-delivered message.
-
Field Details
-
HANDLER_METHOD_NAME
The name of the functional method. Used internally for lambda generation.- See Also:
-
-
Method Details
-
handleDeliver
-