Package org.oddjob.remote
Class Notification<T>
java.lang.Object
org.oddjob.remote.Notification<T>
- All Implemented Interfaces:
Serializable
A Notification.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotification(long remoteId, NotificationType<T> type, long sequence) Notification(long remoteId, NotificationType<T> type, long sequence, T data) Create a notification. -
Method Summary
-
Constructor Details
-
Notification
-
Notification
Create a notification.- Parameters:
remoteId- The remote id of the thing emitting the notification.type- The type of notification.sequence- The sequence number.data- Any user data. May be null.
-
-
Method Details