Class HttpJsonEventUnsubscribeService

    • Method Detail

      • unsubscribe

        public se.arkalix.util.concurrent.Future<?> unsubscribe​(java.lang.String topic,
                                                                java.lang.String subscriberName,
                                                                java.lang.String hostname,
                                                                int port)
        Description copied from interface: ArEventUnsubscribeService
        Sends request for a subscription to be cancelled.
        Specified by:
        unsubscribe in interface ArEventUnsubscribeService
        Parameters:
        topic - The subscription event category.
        subscriberName - The name of the subscribing system.
        hostname - The hostname of the subscribing system.
        port - The port of the subscribing system.
        Returns:
        Future completed when the unsubscription attempt is known to have succeeded or failed.
      • service

        public se.arkalix.description.ServiceDescription service()
        Specified by:
        service in interface se.arkalix.ArConsumer