Interface ResolverProviderBabelProtocol
- All Superinterfaces:
BabelProtocol
- All Known Implementing Classes:
LocalNetworkDiscoveryProtocol
Interface for protocols that act as a resolver provider.
-
Method Summary
Modifier and TypeMethodDescriptionvoiduponBabelNodeProbe(BabelNode node) Called when a Babel node is probed.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.
-
Method Details
-
uponBabelNodeProbe
Called when a Babel node is probed.- Parameters:
node- the probed node
-