|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextMessage
Represents the TextMessage in an IMConversation between participants.
IMConversation| Method Summary | |
|---|---|
void |
addRecipient(MessageRecipient recipient)
Add Recipient to the Message resource-list |
Set<MessageRecipient> |
getRecipients()
return MessageRecipients for this message. |
String |
getText()
Return the text of the message. |
void |
sendAnonymous()
Send the Message as Anonymous User. |
void |
sendAnonymous(String sender)
Send Message with the sender as anonymous |
void |
setText(String s)
Set the text of the message. |
| Methods inherited from interface org.glassfish.cafe.api.Message |
|---|
consume, getContent, getContentType, reject, send, send, send |
| Method Detail |
|---|
void setText(String s)
s - Text of the message to be set.String getText()
void addRecipient(MessageRecipient recipient)
recipient - void sendAnonymous()
void sendAnonymous(String sender)
sender - Set<MessageRecipient> getRecipients()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||