Package 

Enum TorDormantMode

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum TorDormantMode
    extends Enum<TorDormantMode>
                        

    What level of sleep to put a Tor client into.

    The order of the enum constants MUST match the order in parse_tor_dormant_mode() in backend-lib/src/main/rust/lib.rs.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SOFT

      Background tasks are suspended, conserving CPU usage. Attempts to use the client will wake it back up again.

      NORMAL

      The client functions as normal, and background tasks run periodically.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

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