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

org.opentcs.access.rmi.services.RemoteNotificationService Maven / Gradle / Ivy

There is a newer version: 6.2.0
Show newest version
/**
 * Copyright (c) The openTCS Authors.
 *
 * This program is free software and subject to the MIT license. (For details,
 * see the licensing information (LICENSE.txt) you should have received with
 * this copy of the software.)
 */
package org.opentcs.access.rmi.services;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import java.util.function.Predicate;
import org.opentcs.access.rmi.ClientID;
import org.opentcs.components.kernel.services.NotificationService;
import org.opentcs.data.notification.UserNotification;

/**
 * Declares the methods provided by the {@link NotificationService} via RMI.
 *
 * 

* The majority of the methods declared here have signatures analogous to their counterparts in * {@link NotificationService}, with an additional {@link ClientID} parameter which serves the * purpose of identifying the calling client and determining its permissions. *

*

* To avoid redundancy, the semantics of methods that only pass through their arguments are not * explicitly documented here again. See the corresponding API documentation in * {@link NotificationService} for these, instead. *

* * @author Martin Grzenia (Fraunhofer IML) */ public interface RemoteNotificationService extends Remote { // CHECKSTYLE:OFF List fetchUserNotifications(ClientID clientId, Predicate predicate) throws RemoteException; void publishUserNotification(ClientID clientId, UserNotification notification) throws RemoteException; // CHECKSTYLE:ON }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy