Package org.opentcs.access.rmi.services
Interface RemoteNotificationService
- All Superinterfaces:
java.rmi.Remote
public interface RemoteNotificationService
extends java.rmi.Remote
Declares the methods provided by the
NotificationService
via RMI.
The majority of the methods declared here have signatures analogous to their counterparts in
NotificationService
, with an additional 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
NotificationService
for these, instead.
-
Method Summary
Modifier and Type Method Description java.util.List<UserNotification>
fetchUserNotifications(ClientID clientId, java.util.function.Predicate<UserNotification> predicate)
void
publishUserNotification(ClientID clientId, UserNotification notification)
-
Method Details
-
fetchUserNotifications
java.util.List<UserNotification> fetchUserNotifications(ClientID clientId, java.util.function.Predicate<UserNotification> predicate) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
publishUserNotification
void publishUserNotification(ClientID clientId, UserNotification notification) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-