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

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

public class BuddyPluginUtils
extends java.lang.Object


Nested Class Summary
static interface BuddyPluginUtils.CreateChatCallback
           
 
Constructor Summary
BuddyPluginUtils()
           
 
Method Summary
static BuddyPluginViewInterface.View buildChatView(java.util.Map<java.lang.String,java.lang.Object> properties, BuddyPluginViewInterface.ViewListener listener)
           
static void createBetaChat(java.lang.String network, java.lang.String key, BuddyPluginUtils.CreateChatCallback callback)
           
static BuddyPluginBeta getBetaPlugin()
           
static BuddyPluginBeta.ChatInstance getChat(Download download)
           
static BuddyPluginBeta.ChatInstance getChat(java.lang.String net, java.lang.String key)
           
static BuddyPluginBeta.ChatInstance getChat(java.lang.String net, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> options)
           
static java.lang.String getChatKey(Download download)
           
static java.lang.String getChatKey(Torrent torrent)
           
static java.lang.String getChatKey(TOTorrent torrent)
           
static boolean isBetaChatAnonAvailable()
           
static boolean isBetaChatAvailable()
           
static java.util.Map<java.lang.String,java.lang.Object> peekChat(Download download)
           
static java.util.Map<java.lang.String,java.lang.Object> peekChat(java.lang.String net, java.lang.String key)
           
static void peekChatAsync(java.lang.String net, java.lang.String key, java.lang.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(java.lang.String network,
                                  java.lang.String key,
                                  BuddyPluginUtils.CreateChatCallback callback)

peekChat

public static java.util.Map<java.lang.String,java.lang.Object> peekChat(java.lang.String net,
                                                                        java.lang.String key)

peekChat

public static java.util.Map<java.lang.String,java.lang.Object> peekChat(Download download)

peekChatAsync

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

getChat

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

getChat

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

getChat

public static BuddyPluginBeta.ChatInstance getChat(Download download)

buildChatView

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

getChatKey

public static java.lang.String getChatKey(TOTorrent torrent)

getChatKey

public static java.lang.String getChatKey(Download download)

getChatKey

public static java.lang.String getChatKey(Torrent torrent)