ePOST API

rice.post.messaging
Class PostMessage

java.lang.Object
  extended by rice.post.messaging.PostMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DeliveryLookupMessage, DeliveryLookupResponseMessage, DeliveryMessage, DeliveryRequestMessage, EncryptedNotificationMessage, GroupNotificationMessage, NotificationMessage, PresenceMessage, ReceiptMessage

public abstract class PostMessage
extends java.lang.Object
implements java.io.Serializable

This is abstraction of all messages in the Post system.

See Also:
Serialized Form

Constructor Summary
PostMessage(PostEntityAddress sender)
          Constructs a PostMessage given the name of the sender.
 
Method Summary
 PostEntityAddress getSender()
          Returns the sender of this message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostMessage

public PostMessage(PostEntityAddress sender)
Constructs a PostMessage given the name of the sender.

Parameters:
sender - The sender of this message.
Method Detail

getSender

public final PostEntityAddress getSender()
Returns the sender of this message.

Returns:
The sender

ePOST API

Copyright © 2001-2005 - Rice Pastry.