Package org.oddjob.remote
Interface RemoteNotifier
- All Known Subinterfaces:
RemoteConnection
- All Known Implementing Classes:
LocalRemoteConnection,NotificationManager,NotifierClient,NotifierClientEndpoint,RemoteBridge,RemoteConnectionGson
public interface RemoteNotifier
Something capable of providing notifications from a remote location.
-
Method Summary
Modifier and TypeMethodDescription<T> voidaddNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener) <T> voidremoveNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener)
-
Method Details
-
addNotificationListener
<T> void addNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener) throws RemoteException - Throws:
RemoteException
-
removeNotificationListener
<T> void removeNotificationListener(long remoteId, NotificationType<T> notificationType, NotificationListener<T> notificationListener) throws RemoteException - Throws:
RemoteException
-