Package com.biglybt.plugin.net.buddy
Class BuddyPluginAZ2
java.lang.Object
com.biglybt.plugin.net.buddy.BuddyPluginAZ2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
private Map
private CopyOnWriteList
private BuddyPluginNetwork
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private static final int
private CopyOnWriteList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(BuddyPluginAZ2Listener listener) void
createChat
(BuddyPluginBuddy[] buddies) protected void
protected void
protected void
protected void
logMessage
(BuddyPluginBuddy buddy, String str) protected void
logMessage
(BuddyPluginBuddy buddy, String str, Throwable e) protected void
logMessageAndPopup
(BuddyPluginBuddy buddy, String str) protected void
logMessageAndPopup
(BuddyPluginBuddy buddy, String str, Throwable e) protected Map
processAZ2Request
(BuddyPluginBuddy from_buddy, Map request) void
removeListener
(BuddyPluginAZ2Listener listener) void
protected void
sendAZ2Chat
(BuddyPluginBuddy buddy, Map msg) void
sendAZ2Message
(BuddyPluginBuddy buddy, String msg) void
sendAZ2ProfileInfo
(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) void
sendAZ2RSSMessage
(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) void
sendAZ2Torrent
(Torrent torrent, BuddyPluginBuddy buddy) void
sendAZ2TrackerMessage
(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) protected void
sendMessage
(BuddyPluginBuddy buddy, Map request)
-
Field Details
-
RT_AZ2_REQUEST_MESSAGE
public static final int RT_AZ2_REQUEST_MESSAGE- See Also:
-
RT_AZ2_REPLY_MESSAGE
public static final int RT_AZ2_REPLY_MESSAGE- See Also:
-
RT_AZ2_REQUEST_SEND_TORRENT
public static final int RT_AZ2_REQUEST_SEND_TORRENT- See Also:
-
RT_AZ2_REPLY_SEND_TORRENT
public static final int RT_AZ2_REPLY_SEND_TORRENT- See Also:
-
RT_AZ2_REQUEST_CHAT
public static final int RT_AZ2_REQUEST_CHAT- See Also:
-
RT_AZ2_REPLY_CHAT
public static final int RT_AZ2_REPLY_CHAT- See Also:
-
RT_AZ2_REQUEST_TRACK
public static final int RT_AZ2_REQUEST_TRACK- See Also:
-
RT_AZ2_REPLY_TRACK
public static final int RT_AZ2_REPLY_TRACK- See Also:
-
RT_AZ2_REQUEST_RSS
public static final int RT_AZ2_REQUEST_RSS- See Also:
-
RT_AZ2_REPLY_RSS
public static final int RT_AZ2_REPLY_RSS- See Also:
-
RT_AZ2_REQUEST_PROFILE_INFO
public static final int RT_AZ2_REQUEST_PROFILE_INFO- See Also:
-
RT_AZ2_REPLY_PROFILE_INFO
public static final int RT_AZ2_REPLY_PROFILE_INFO- See Also:
-
CHAT_MSG_TYPE_TEXT
public static final int CHAT_MSG_TYPE_TEXT- See Also:
-
CHAT_MSG_TYPE_PARTICIPANTS_ADDED
public static final int CHAT_MSG_TYPE_PARTICIPANTS_ADDED- See Also:
-
CHAT_MSG_TYPE_PARTICIPANTS_REMOVED
public static final int CHAT_MSG_TYPE_PARTICIPANTS_REMOVED- See Also:
-
SEND_TIMEOUT
private static final int SEND_TIMEOUT- See Also:
-
plugin_network
-
chats
-
listeners
-
track_listeners
-
-
Constructor Details
-
BuddyPluginAZ2
-
-
Method Details
-
processAZ2Request
protected Map processAZ2Request(BuddyPluginBuddy from_buddy, Map request) throws BuddyPluginException - Throws:
BuddyPluginException
-
createChat
-
destroyChat
-
informCreated
-
informDestroyed
-
sendAZ2Message
-
sendAZ2Chat
-
sendAZ2Torrent
-
sendAZ2TrackerMessage
public void sendAZ2TrackerMessage(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) -
sendAZ2RSSMessage
public void sendAZ2RSSMessage(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) -
sendAZ2ProfileInfo
public void sendAZ2ProfileInfo(BuddyPluginBuddy buddy, Map msg, BuddyPluginAZ2TrackerListener listener) -
sendMessage
- Throws:
BuddyPluginException
-
addListener
-
removeListener
-
addTrackerListener
-
removeTrackerListener
-
logMessageAndPopup
-
logMessageAndPopup
-
logMessage
-
logMessage
-