Package com.biglybt.plugin.net.buddy
Interface BuddyPluginBuddyRequestListener
public interface BuddyPluginBuddyRequestListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
pendingMessages
(BuddyPluginBuddy[] from_buddies) requestReceived
(BuddyPluginBuddy from_buddy, int subsystem, Map request) Request receieved for a buddy.
-
Method Details
-
requestReceived
Map requestReceived(BuddyPluginBuddy from_buddy, int subsystem, Map request) throws BuddyPluginException Request receieved for a buddy. If the buddy is not authorised then the BuddyPluginBuddy is transient and should only be used for the duration of this request. Use outside of this context is undefined. If you want to authorise a transient buddy then you need to call BuddyPlugin.addBuddy with the required public key- Parameters:
from_buddy
-subsystem
-request
-- Returns:
- Throws:
BuddyPluginException
-
pendingMessages
-