Annotation Interface UponBroadcastDeliver
Marks a method as a handler for a broadcast-delivered message on a
BroadcastConsumerBabelProtocol.
The annotated method must accept two parameters: a concrete subtype of
BabelMessage and a
BabelNode representing
the original sender.
For this annotation to take effect, the protocol must also have a
BroadcastConsumerExtensionFactory registered with the
BabelBootstrap.
@UponBroadcastDeliver
public void onBroadcastMsg(AppMessage msg, BabelNode sender) { ... }