Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api
Interface TextMessage

All Superinterfaces:
Message
All Known Subinterfaces:
CommonPresenceInstantMessage

public interface TextMessage
extends Message

Represents the TextMessage in an IMConversation between participants.

See Also:
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 com.oracle.sft.api.Message
consume, getContent, getContentType, reject, send, send, send

 

Method Detail

setText

void setText(String s)
Set the text of the message.
Parameters:
s - Text of the message to be set.

getText

String getText()
Return the text of the message.
Returns:
The message as a string.

addRecipient

void addRecipient(MessageRecipient recipient)
Add Recipient to the Message resource-list
Parameters:
recipient -

sendAnonymous

void sendAnonymous()
Send the Message as Anonymous User.

sendAnonymous

void sendAnonymous(String sender)
Send Message with the sender as anonymous
Parameters:
sender -

getRecipients

Set<MessageRecipient> getRecipients()
return MessageRecipients for this message.
Returns:
Recipients of this Message

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.