Download Reference Manual

Transcript
manual_10 09.07.2003 17:20 Uhr Seite 137
Message
implements Cloneable, Serializable
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 (String subject)
Message (String subject, User sender)
Method Summary
Object clone ()
DataRow getAttachment ()
String getSender ()
String getSubject ()
Command getUndeliveredCommand ()
void setUndeliveredCommand (Command com)
Message
Message (String subject)
Creates a new message with the specified subject.
Message
Message (String subject, User sender)
Creates a new message with the specified subject and the specified user set as the sender.
clone
Object clone ()
Returns a clone of this message containing a deep copy of its attachment.
DataRow getAttachment ()
Returns the attachment of this message. Initially it is an empty DataRow, but you can
put any DataField into it and all the values will be converted to their corresponding
ActionScript datatypes, if you send the message to a client.
Message
137
org.omus.data
getAttachment