|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.omus.data.Message
A message that can be sent to Flash clients or to other users and groups on the server. It corresponds to the client side Message object. The attachment is a DataRow which will be converted to a generic ActionScript object in the client and thus can carry any of the ActionScript datatypes that correspond to one of the server side DataField objects.
| Constructor Summary | |
Message(java.lang.String subj)
Creates a new message with the specified subject. |
|
Message(java.lang.String subj,
User snd)
Creates a new message with the specified subject and the specified user set as the sender. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this message containing a deep copy of its attachment. |
DataRow |
getAttachment()
Returns the attachment of this message. |
java.lang.String |
getSender()
Returns the name of the sender. |
java.lang.String |
getSubject()
Returns the subject of this message. |
Command |
getUndeliveredCommand()
Returns the command that gets executed if the message can not be delivered to the recipient or null if none has been specified yet. |
void |
setUndeliveredCommand(Command com)
Sets the command that gets executed if the message can not be delivered to the recipient. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Message(java.lang.String subj)
public Message(java.lang.String subj,
User snd)
| Method Detail |
public java.lang.String getSender()
public java.lang.String getSubject()
public DataRow getAttachment()
public void setUndeliveredCommand(Command com)
public Command getUndeliveredCommand()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||