Interface BuddyPluginBuddyRequestListener


public interface BuddyPluginBuddyRequestListener
  • 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

      void pendingMessages(BuddyPluginBuddy[] from_buddies)