com.aelitis.azureus.plugins.net.buddy
Class BuddyPluginUtils

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.buddy.BuddyPluginUtils

public class BuddyPluginUtils
extends Object


Constructor Summary
BuddyPluginUtils()
           
 
Method Summary
static BuddyPluginViewInterface.View buildChatView(Map<String,Object> properties, BuddyPluginViewInterface.ViewListener listener)
           
static void createBetaChat(String network, String key, Runnable callback)
           
static BuddyPluginBeta getBetaPlugin()
           
static BuddyPluginBeta.ChatInstance getChat(Download download)
           
static BuddyPluginBeta.ChatInstance getChat(String net, String key)
           
static BuddyPluginBeta.ChatInstance getChat(String net, String key, Map<String,Object> options)
           
static String getChatKey(Download download)
           
static String getChatKey(Torrent torrent)
           
static String getChatKey(TOTorrent torrent)
           
static boolean isBetaChatAnonAvailable()
           
static boolean isBetaChatAvailable()
           
static Map<String,Object> peekChat(Download download)
           
static Map<String,Object> peekChat(String net, String key)
           
static void peekChatAsync(String net, String key, Runnable done)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuddyPluginUtils

public BuddyPluginUtils()
Method Detail

getBetaPlugin

public static BuddyPluginBeta getBetaPlugin()

isBetaChatAvailable

public static boolean isBetaChatAvailable()

isBetaChatAnonAvailable

public static boolean isBetaChatAnonAvailable()

createBetaChat

public static void createBetaChat(String network,
                                  String key,
                                  Runnable callback)

peekChat

public static Map<String,Object> peekChat(String net,
                                          String key)

peekChat

public static Map<String,Object> peekChat(Download download)

peekChatAsync

public static void peekChatAsync(String net,
                                 String key,
                                 Runnable done)

getChat

public static BuddyPluginBeta.ChatInstance getChat(String net,
                                                   String key)

getChat

public static BuddyPluginBeta.ChatInstance getChat(String net,
                                                   String key,
                                                   Map<String,Object> options)

getChat

public static BuddyPluginBeta.ChatInstance getChat(Download download)

buildChatView

public static BuddyPluginViewInterface.View buildChatView(Map<String,Object> properties,
                                                          BuddyPluginViewInterface.ViewListener listener)

getChatKey

public static String getChatKey(TOTorrent torrent)

getChatKey

public static String getChatKey(Download download)

getChatKey

public static String getChatKey(Torrent torrent)