Package 

Interface StreamConnectionRecoveryEvaluator


  • 
    public interface StreamConnectionRecoveryEvaluator
    
                        

    Evaluates the current connection state and network availability to determine whether a reconnect or disconnect action should be taken.

    Implementations are responsible for defining the heuristics that determine when a reconnect or disconnect should be triggered based on the current connection state and network availability.

    • Method Summary

      Modifier and Type Method Description
      abstract Result<Recovery> evaluate(StreamConnectionState connectionState, StreamLifecycleState lifecycleState, StreamNetworkState networkState) Evaluates the current connection state and network availability to determine whether a reconnect or disconnect action should be taken.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait