Interface NetherNetClientSignaling.FailureHandler

Enclosing interface:
NetherNetClientSignaling
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NetherNetClientSignaling.FailureHandler
Functional interface for handling signaling failures.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(String reason)
    Called when the signaling reports that the connection cannot be made.
  • Method Details

    • onFailure

      void onFailure(String reason)
      Called when the signaling reports that the connection cannot be made.
      Parameters:
      reason - The reason or raw message payload regarding the failure.