Interface SignedMessageBabelProtocol
- All Superinterfaces:
BabelProtocol
Marker interface for protocols that receive and send cryptographically signed messages.
Protocols implementing this interface can use annotations such as
UponSignedMessageIn
when registered with SignedMessageExtensionFactory.
-
Method Summary
Methods inherited from interface BabelProtocol
connectionDown, connectionFailed, connectionUp, init, pause, resume, stopModifier and TypeMethodDescriptiondefault voidconnectionDown(BabelNode peer, @Nullable Throwable cause) Invoked when a previously established connection topeerhas been closed, either locally or remotely.default voidconnectionFailed(BabelNode peer, @Nullable Throwable cause) Invoked when an outgoing connection attempt topeerfailed before a connection could be established.default voidconnectionUp(BabelNode peer) Invoked when an outgoing connection topeerhas been established successfully through the protocol's assignedBabelChannel.default voidinit(Babel runtime, ComposedBabelChannel channel) Initiates the protocol's logic and execution.default voidpause()Suspends the protocol's operations.default voidresume(Babel runtime, ComposedBabelChannel channel) Reinstates the protocol's execution from a paused state.default voidstop()Completely halt the protocols execution.