rice.post.messaging
Class NotificationMessage
java.lang.Object
rice.post.messaging.PostMessage
rice.post.messaging.NotificationMessage
-
All Implemented Interfaces:
- java.io.Serializable
-
Direct Known Subclasses:
- EmailNotificationMessage
-
public abstract class NotificationMessage
- extends PostMessage
This class represents an abstract message in the Post system
which serves as a notification. Each Post application should
extend this class with each type of relevant notification
message.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationMessage
public NotificationMessage(PostClientAddress clientAddress,
PostEntityAddress sender,
PostEntityAddress destination)
- Constructs a NotificationMessage for the given Email.
- Parameters:
-
clientAddress
- The address of the service to which this message
should be delivered.-
destination
- The address of the user or group to which this
message should be delivered.
getDestination
public PostEntityAddress getDestination()
- Returns the PostEntityAddress of the user or group
to which this noticiation should be delivered.
-
- Returns:
- The address of the user or group to which this should be delivered
getClientAddress
public PostClientAddress getClientAddress()
- Returns the PostClientAddress of the application to
which this message should be delievered
-
- Returns:
- The address of the service to which this message
should be delivered
Copyright © 2001-2005 - Rice Pastry.