Synergy Home Page

au.edu.swin.synergy.plugin.mailclient
Class BMessage

java.lang.Object
  |
  +--au.edu.swin.synergy.plugin.mailclient.BMessage

public class BMessage
extends Object
implements Serializable

The representation of a message (BMail) being sent by a user on the system, either via SMTP or a Direct message to other logged on users

Author:
Matthew Evans Please complete these missing tags
Copyright Belongs To:
 
See Also:
Serialized Form

Constructor Summary
BMessage(String sender, BStringList receivers)
          Creates a new BMailCE with the sender and receivers specified
 
Method Summary
 String getDateMessage()
          Returns the date & time the message was sent, contained in a string
 String getMessage()
          Get the message
 BStringList getReceivers()
          Get the intended receivers of the message
 String getSender()
          Get the sender of the message
 String getSubject()
          Get the subject of the message
 void setMessage(String message)
          Set the message being represeneted
 void setSender(String sender)
           
 void setSubject(String subject)
          Set the subject for the message
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BMessage

public BMessage(String sender,
                BStringList receivers)
Creates a new BMailCE with the sender and receivers specified
Parameters:
the - sender of the message
the - receivers fo the message Please complete the missing tags for BMailCE
Method Detail

getSender

public String getSender()
Get the sender of the message
Parameters:
-  
Returns:
the sender of the message Please complete the missing tags for getSender
Pre Condition:
 
Post Condition:
 

setSender

public void setSender(String sender)

getReceivers

public BStringList getReceivers()
Get the intended receivers of the message
Parameters:
-  
Returns:
A vector of strings containing the message receivers Please complete the missing tags for getReceivers
Pre Condition:
 
Post Condition:
 

getSubject

public String getSubject()
Get the subject of the message
Parameters:
-  
Returns:
the subject Please complete the missing tags for getSubject
Pre Condition:
 
Post Condition:
 

getMessage

public String getMessage()
Get the message
Parameters:
-  
Returns:
the message Please complete the missing tags for getMessage
Pre Condition:
 
Post Condition:
 

setMessage

public void setMessage(String message)
Set the message being represeneted
Parameters:
the - message Please complete the missing tags for setMessage
Returns:
 
Pre Condition:
 
Post Condition:
 

setSubject

public void setSubject(String subject)
Set the subject for the message
Parameters:
the - subject for the message Please complete the missing tags for setSubject
Returns:
 
Pre Condition:
 
Post Condition:
 

toString

public String toString()
Overrides:
toString in class Object

getDateMessage

public String getDateMessage()
Returns the date & time the message was sent, contained in a string

Synergy Home Page