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

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

public class BuddyPluginAZ2
extends java.lang.Object


Nested Class Summary
 class BuddyPluginAZ2.chatInstance
           
static class BuddyPluginAZ2.chatMessage
           
static class BuddyPluginAZ2.chatParticipant
           
 
Field Summary
static int CHAT_MSG_TYPE_PARTICIPANTS_ADDED
           
static int CHAT_MSG_TYPE_PARTICIPANTS_REMOVED
           
static int CHAT_MSG_TYPE_TEXT
           
static int RT_AZ2_REPLY_CHAT
           
static int RT_AZ2_REPLY_MESSAGE
           
static int RT_AZ2_REPLY_RSS
           
static int RT_AZ2_REPLY_SEND_TORRENT
           
static int RT_AZ2_REPLY_TRACK
           
static int RT_AZ2_REQUEST_CHAT
           
static int RT_AZ2_REQUEST_MESSAGE
           
static int RT_AZ2_REQUEST_RSS
           
static int RT_AZ2_REQUEST_SEND_TORRENT
           
static int RT_AZ2_REQUEST_TRACK
           
 
Constructor Summary
protected BuddyPluginAZ2(BuddyPlugin _plugin)
           
 
Method Summary
 void addListener(BuddyPluginAZ2Listener listener)
           
 void addTrackerListener(BuddyPluginAZ2TrackerListener listener)
           
 BuddyPluginAZ2.chatInstance createChat(BuddyPluginBuddy[] buddies)
           
protected  void destroyChat(BuddyPluginAZ2.chatInstance chat)
           
protected  void informCreated(BuddyPluginAZ2.chatInstance chat)
           
protected  void informDestroyed(BuddyPluginAZ2.chatInstance chat)
           
protected  void logMessage(java.lang.String str)
           
protected  void logMessage(java.lang.String str, java.lang.Throwable e)
           
protected  void logMessageAndPopup(java.lang.String str)
           
protected  void logMessageAndPopup(java.lang.String str, java.lang.Throwable e)
           
protected  java.util.Map processAZ2Request(BuddyPluginBuddy from_buddy, java.util.Map request)
           
 void removeListener(BuddyPluginAZ2Listener listener)
           
 void removeTrackerListener(BuddyPluginAZ2TrackerListener listener)
           
protected  void sendAZ2Chat(BuddyPluginBuddy buddy, java.util.Map msg)
           
 void sendAZ2Message(BuddyPluginBuddy buddy, java.lang.String msg)
           
 void sendAZ2RSSMessage(BuddyPluginBuddy buddy, java.util.Map msg, BuddyPluginAZ2TrackerListener listener)
           
 void sendAZ2Torrent(Torrent torrent, BuddyPluginBuddy buddy)
           
 void sendAZ2TrackerMessage(BuddyPluginBuddy buddy, java.util.Map msg, BuddyPluginAZ2TrackerListener listener)
           
protected  void sendMessage(BuddyPluginBuddy buddy, java.util.Map request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RT_AZ2_REQUEST_MESSAGE

public static final int RT_AZ2_REQUEST_MESSAGE
See Also:
Constant Field Values

RT_AZ2_REPLY_MESSAGE

public static final int RT_AZ2_REPLY_MESSAGE
See Also:
Constant Field Values

RT_AZ2_REQUEST_SEND_TORRENT

public static final int RT_AZ2_REQUEST_SEND_TORRENT
See Also:
Constant Field Values

RT_AZ2_REPLY_SEND_TORRENT

public static final int RT_AZ2_REPLY_SEND_TORRENT
See Also:
Constant Field Values

RT_AZ2_REQUEST_CHAT

public static final int RT_AZ2_REQUEST_CHAT
See Also:
Constant Field Values

RT_AZ2_REPLY_CHAT

public static final int RT_AZ2_REPLY_CHAT
See Also:
Constant Field Values

RT_AZ2_REQUEST_TRACK

public static final int RT_AZ2_REQUEST_TRACK
See Also:
Constant Field Values

RT_AZ2_REPLY_TRACK

public static final int RT_AZ2_REPLY_TRACK
See Also:
Constant Field Values

RT_AZ2_REQUEST_RSS

public static final int RT_AZ2_REQUEST_RSS
See Also:
Constant Field Values

RT_AZ2_REPLY_RSS

public static final int RT_AZ2_REPLY_RSS
See Also:
Constant Field Values

CHAT_MSG_TYPE_TEXT

public static final int CHAT_MSG_TYPE_TEXT
See Also:
Constant Field Values

CHAT_MSG_TYPE_PARTICIPANTS_ADDED

public static final int CHAT_MSG_TYPE_PARTICIPANTS_ADDED
See Also:
Constant Field Values

CHAT_MSG_TYPE_PARTICIPANTS_REMOVED

public static final int CHAT_MSG_TYPE_PARTICIPANTS_REMOVED
See Also:
Constant Field Values
Constructor Detail

BuddyPluginAZ2

protected BuddyPluginAZ2(BuddyPlugin _plugin)
Method Detail

processAZ2Request

protected java.util.Map processAZ2Request(BuddyPluginBuddy from_buddy,
                                          java.util.Map request)
                                   throws BuddyPluginException
Throws:
BuddyPluginException

createChat

public BuddyPluginAZ2.chatInstance createChat(BuddyPluginBuddy[] buddies)

destroyChat

protected void destroyChat(BuddyPluginAZ2.chatInstance chat)

informCreated

protected void informCreated(BuddyPluginAZ2.chatInstance chat)

informDestroyed

protected void informDestroyed(BuddyPluginAZ2.chatInstance chat)

sendAZ2Message

public void sendAZ2Message(BuddyPluginBuddy buddy,
                           java.lang.String msg)

sendAZ2Chat

protected void sendAZ2Chat(BuddyPluginBuddy buddy,
                           java.util.Map msg)

sendAZ2Torrent

public void sendAZ2Torrent(Torrent torrent,
                           BuddyPluginBuddy buddy)

sendAZ2TrackerMessage

public void sendAZ2TrackerMessage(BuddyPluginBuddy buddy,
                                  java.util.Map msg,
                                  BuddyPluginAZ2TrackerListener listener)

sendAZ2RSSMessage

public void sendAZ2RSSMessage(BuddyPluginBuddy buddy,
                              java.util.Map msg,
                              BuddyPluginAZ2TrackerListener listener)

sendMessage

protected void sendMessage(BuddyPluginBuddy buddy,
                           java.util.Map request)
                    throws BuddyPluginException
Throws:
BuddyPluginException

addListener

public void addListener(BuddyPluginAZ2Listener listener)

removeListener

public void removeListener(BuddyPluginAZ2Listener listener)

addTrackerListener

public void addTrackerListener(BuddyPluginAZ2TrackerListener listener)

removeTrackerListener

public void removeTrackerListener(BuddyPluginAZ2TrackerListener listener)

logMessageAndPopup

protected void logMessageAndPopup(java.lang.String str,
                                  java.lang.Throwable e)

logMessageAndPopup

protected void logMessageAndPopup(java.lang.String str)

logMessage

protected void logMessage(java.lang.String str)

logMessage

protected void logMessage(java.lang.String str,
                          java.lang.Throwable e)