Class BGSpongy

java.lang.Object
com.biglybt.core.security.BGSpongy

public class BGSpongy extends Object
  • Field Details

    • plugins

      private static final CopyOnWriteList<PluginInterface> plugins
    • plugin_init_complete

      private static AESemaphore plugin_init_complete
    • core

      private static volatile Core core
    • ipc

      private static volatile IPCInterface ipc
    • spongy_install_lock

      private static Object spongy_install_lock
    • spongy_installing

      private static boolean spongy_installing
    • spongy_installed

      private static boolean spongy_installed
    • spongy_install_failed

      private static boolean spongy_install_failed
    • spongy_install_waiters

      private static List<AESemaphore> spongy_install_waiters
  • Constructor Details

    • BGSpongy

      public BGSpongy()
  • Method Details

    • initialize

      public static void initialize(Core _core)
    • pluginAdded

      private static void pluginAdded(PluginInterface pi)
    • pluginRemoved

      private static void pluginRemoved(PluginInterface pi)
    • getDigest

      public static MessageDigest getDigest(String algorithm, long max_wait)
      Parameters:
      algorithm - digest algorithm e.g. SHA3-256
      max_wait - invalid input: '<'0: infinite; 0: no wait; >0: max wait millis
    • getICP

      private static IPCInterface getICP(long max_wait)
    • installCompleted

      private static void installCompleted(boolean ok)