pl.mn.communicator
Interface IOutgoingMessage

All Superinterfaces:
IMessage
All Known Implementing Classes:
OutgoingMessage

public interface IOutgoingMessage
extends IMessage


Method Summary
 void addAdditionalRecipient(int recipientUin)
           
 int[] getAdditionalRecipients()
           
 int[] getAllRecipients()
           
 void removeAdditionalRecipient(int recipientUin)
           
 void setMessageBody(java.lang.String messageBody)
          Use this method if you want to set new message body on this message.
 void setRecipientUin(int recipientUin)
          Use this method if you want to set new uin on this message.
 
Methods inherited from interface pl.mn.communicator.IMessage
getMessageBody, getMessageClass, getMessageID, getRecipientUin
 

Method Detail

setMessageBody

void setMessageBody(java.lang.String messageBody)
Use this method if you want to set new message body on this message.

Parameters:
messageBody - the new message body.
Throws:
java.lang.NullPointerException - if the messageBody object is null.

setRecipientUin

void setRecipientUin(int recipientUin)
Use this method if you want to set new uin on this message.

Parameters:
uin - the new Gadu-Gadu number to whom this message will be addressed.
Throws:
java.lang.IllegalArgumentException - if the uin is a negative value.

addAdditionalRecipient

void addAdditionalRecipient(int recipientUin)

removeAdditionalRecipient

void removeAdditionalRecipient(int recipientUin)

getAdditionalRecipients

int[] getAdditionalRecipients()

getAllRecipients

int[] getAllRecipients()


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.