|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.zerofun.maven.im.beans.MSNMessageBean
This bean provides the actual functionality for sending a message to MSN clients. It's functionality is invoked by the corresponding MSNMessageTag class.
Constructor Summary | |
MSNMessageBean()
|
Method Summary | |
void |
execute()
The main method of the bean. |
java.lang.String |
getFrom()
Gets the MSN username from which messages should be sent. |
java.lang.String |
getMessage()
Gets the message which will be sent to all recipients. |
java.lang.String |
getPassword()
Gets the password which will be used to authenticate the specified user to the MSN server. |
java.lang.String |
getTo()
Gets the complete list of recipients, which could be a single name, or a comma separated list of recipients. |
void |
setFrom(java.lang.String from)
Sets the username from which messages will be sent. |
void |
setMessage(java.lang.String message)
Sets the message which will be sent to all users. |
void |
setPassword(java.lang.String password)
Sets the password which will be used to authenticate the specified user with the MSN server. |
void |
setTo(java.lang.String to)
Sets the list of recipients to which messages should be sent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MSNMessageBean()
Method Detail |
public void execute() throws java.lang.Exception
java.lang.Exception
public java.lang.String getFrom()
public java.lang.String getMessage()
public java.lang.String getPassword()
public java.lang.String getTo()
public void setFrom(java.lang.String from)
from
- the from String to setpublic void setMessage(java.lang.String message)
message
- the message String to setpublic void setPassword(java.lang.String password)
password
- the password String to setpublic void setTo(java.lang.String to)
to
- the to String to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |