Package com.biglybt.core.security
Class BGSpongy
- java.lang.Object
-
- com.biglybt.core.security.BGSpongy
-
public class BGSpongy extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static Core
core
private static IPCInterface
ipc
private static AESemaphore
plugin_init_complete
private static CopyOnWriteList<PluginInterface>
plugins
private static boolean
spongy_install_failed
private static java.lang.Object
spongy_install_lock
private static java.util.List<AESemaphore>
spongy_install_waiters
private static boolean
spongy_installed
private static boolean
spongy_installing
-
Constructor Summary
Constructors Constructor Description BGSpongy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.MessageDigest
getDigest(java.lang.String algorithm, long max_wait)
private static IPCInterface
getICP(long max_wait)
static void
initialize(Core _core)
private static void
installCompleted(boolean ok)
private static void
pluginAdded(PluginInterface pi)
private static void
pluginRemoved(PluginInterface pi)
-
-
-
Field Detail
-
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 java.lang.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 java.util.List<AESemaphore> spongy_install_waiters
-
-
Method Detail
-
initialize
public static void initialize(Core _core)
-
pluginAdded
private static void pluginAdded(PluginInterface pi)
-
pluginRemoved
private static void pluginRemoved(PluginInterface pi)
-
getDigest
public static java.security.MessageDigest getDigest(java.lang.String algorithm, long max_wait)
- Parameters:
algorithm
- digest algorithm e.g. SHA3-256max_wait
- <0: infinite; 0: no wait; >0: max wait millis
-
getICP
private static IPCInterface getICP(long max_wait)
-
installCompleted
private static void installCompleted(boolean ok)
-
-