Package com.biglybt.plugin.net.buddy
Class BuddyPluginUtils
java.lang.Object
com.biglybt.plugin.net.buddy.BuddyPluginUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Object
static final String
static final String
private static BuddyPluginBeta.ChatInstance
private static String[]
private static BuddyPluginBeta.ChatInstance
private static String[]
private static AsyncDispatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
betaInit
(BuddyPluginBeta bpb) buildChatView
(Map<String, Object> properties, BuddyPluginViewInterface.ViewListener listener) static void
createBetaChat
(String network, String key, BuddyPluginUtils.CreateChatCallback callback) static BuddyPluginBeta
static BuddyPluginBeta.ChatInstance
static BuddyPluginBeta.ChatInstance
static BuddyPluginBeta.ChatInstance
static String
getChatKey
(TOTorrent torrent) static String
getChatKey
(Download download) static String
getChatKey
(Peer peer) static String
getChatKey
(PeerDescriptor peer) static String
getChatKey
(Torrent torrent) static List
<BuddyPluginBeta.ChatInstance> getChats()
static BuddyPluginBeta.ChatInstance
static BuddyPluginBeta.ChatInstance
static BuddyPlugin
static String
getTrackerChatKey
(String url) static String
getTrackerChatKey
(URL url) static boolean
static boolean
static boolean
static boolean
static void
peekChatAsync
(String net, String key, Runnable done) static List
<BuddyPluginBeta.ChatInstance> peekChatInstances
(Download download)
-
Field Details
-
chat_lock
-
country_chat
-
country_info
-
CK_CC
- See Also:
-
language_chat
-
language_info
-
CK_LANG
- See Also:
-
peek_dispatcher
-
-
Constructor Details
-
BuddyPluginUtils
public BuddyPluginUtils()
-
-
Method Details
-
betaInit
-
getCountryChat
-
getLanguageChat
-
getPlugin
-
getBetaPlugin
-
isBetaChatEnabled
public static boolean isBetaChatEnabled() -
isBetaChatAvailable
public static boolean isBetaChatAvailable() -
isBetaChatAnonAvailable
public static boolean isBetaChatAnonAvailable() -
createBetaChat
public static void createBetaChat(String network, String key, BuddyPluginUtils.CreateChatCallback callback) -
peekChat
-
peekChat
-
peekChatInstances
-
peekChatAsync
-
getChats
-
getChat
-
getChat
-
getChat
-
buildChatView
public static BuddyPluginViewInterface.View buildChatView(Map<String, Object> properties, BuddyPluginViewInterface.ViewListener listener) -
getChatKey
-
getChatKey
-
getChatKey
-
getChatKey
-
getChatKey
-
isUnknownDownloadChatKey
-
getTrackerChatKey
-
getTrackerChatKey
-