Interface BuddyPluginBuddyRequestListener


  • public interface BuddyPluginBuddyRequestListener
    • Method Detail

      • requestReceived

        java.util.Map requestReceived​(BuddyPluginBuddy from_buddy,
                                      int subsystem,
                                      java.util.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