Interface ProtocolAdapterDiscoveryOutput


  • public interface ProtocolAdapterDiscoveryOutput
    • Method Detail

      • getNodeTree

        @NotNull
        @NotNull NodeTree getNodeTree()
        Returns:
        the tree to which the discovered nodes should be added.
      • finish

        void finish()
        Signals Edge that all data is discovered.
      • fail

        void fail​(@NotNull
                  @NotNull Throwable t,
                  @Nullable
                  @Nullable String errorMessage)
        Signals that something went wrong during discovery.
        Parameters:
        t - Throwable indicating what went wrong.
        errorMessage - an optional error message delivering further insights.
      • fail

        void fail​(@NotNull
                  @NotNull String errorMessage)
        Signals that something went wrong during discovery.
        Parameters:
        errorMessage - a message indicating what went wrong.