use of com.biglybt.plugin.dht.DHTPluginInterface in project BiglyBT by BiglySoftware.
the class AEPluginProxyHandler method getPluginDHTProxy.
public static DHTPluginInterface getPluginDHTProxy(String reason, String network, Map<String, Object> options) {
waitForPlugins(plugin_init_max_wait);
checkPluginInstallation(network, reason);
PluginInterface pi = getPluginProxyForNetwork(network, false);
if (pi == null) {
return (null);
}
try {
IPCInterface ipc = pi.getIPC();
DHTPluginInterface reply = (DHTPluginInterface) ipc.invoke("getProxyDHT", new Object[] { reason, options });
return (reply);
} catch (Throwable e) {
}
return (null);
}
Aggregations