com.sun.im.service
Interface InviteMessage

All Superinterfaces:
Message, MessagePart, ReadOnlyMessagePart

public interface InviteMessage
extends Message


Method Summary
 void rsvp(boolean accepted)
          sends a reply to an invitation to a conference.
 void rsvp(Message message, boolean accepted)
          sends a reply to an invitation to a conference.
 
Methods inherited from interface com.sun.im.service.Message
addPart, addProcessingRule, addProcessingRule, addRecipient, getExpirationDate, getHeader, getMessageId, getOriginator, getParts, getRecipients, newPart, removePart, removeProcessingRule, removeProcessingRule, removeRecipient, sendReply, sendStatus, setExpirationDate, setHeader, setOriginator
 
Methods inherited from interface com.sun.im.service.MessagePart
clearContent, setContent, setContent, setContent, setContent, setContentName, setContentType
 
Methods inherited from interface com.sun.im.service.ReadOnlyMessagePart
getBytes, getContent, getContent, getContentEncoding, getContentID, getContentName, getContentType, getInputStream, getSize
 

Method Detail

rsvp

public void rsvp(Message message,
                 boolean accepted)
          throws CollaborationException
sends a reply to an invitation to a conference.

Parameters:
message - accompanying message which typically explains the reason for the acceptance or denial of the invitation.
accepted - whether the invitation has been accepted by the user or not. Note that if accepted is true, it does not mean that the user is in the conference. The join() method of the Conference object must be called for the user to actually join the conference.
Throws:
CollaborationException

rsvp

public void rsvp(boolean accepted)
          throws CollaborationException
sends a reply to an invitation to a conference. No reason is given as to why the invitation is either accepted or declined.

Parameters:
accepted - whether the invitation has been accepted by the user or not. Note that if accepted is true, it does not mean that the user is in the conference. The join() method of the Conference object must be called for the user to actually join the conference.
Throws:
CollaborationException