Class PubSubManager

    • Method Detail

      • discoverPubSubServices

        public AsyncResult<List<PubSubService>> discoverPubSubServices()
        Discovers the publish-subscribe services for the current connection.
        Returns:
        The async result with the list of publish-subscribe services.
      • createPubSubService

        public PubSubService createPubSubService​(Jid service)
        Creates a pubsub service.
        Parameters:
        service - The pubsub service address, e.g. Jid.of("pubsub.mydomain")
        Returns:
        The pubsub service.