Interface NeighbourMessageHandler

  • All Known Implementing Classes:
    DefaultNeighbourMessageHandler

    public interface NeighbourMessageHandler
    Handler for an incoming neighbour message.

    An application may implement this interface in order to provide their own logic for handling particular neighbour messages.

    • Method Detail

      • handleMessage

        void handleMessage​(NeighbourMessageContext context,
                           HostService hostService)
        Handles a neighbour message.
        Parameters:
        context - neighbour message context
        hostService - host service