All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.arkalix.core.plugin.ArEventSubscribe Maven / Gradle / Ivy

package se.arkalix.core.plugin;

import se.arkalix.core.plugin.dto.EventSubscriptionRequestDto;
import se.arkalix.util.concurrent.Future;

/**
 * Represents an Arrowhead event subscription service.
 */
public interface ArEventSubscribe {
    /**
     * Sends given {@code subscription} request.
     *
     * @param subscription Subscription details.
     * @return {@code Future} completed when the subscription attempt is known
     * to have succeeded or failed.
     */
    Future subscribe(EventSubscriptionRequestDto subscription);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy