|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.illeva.jordino.answer.Response
org.illeva.jordino.answer.Ping
Field Summary | |
protected java.lang.String |
dAction
|
protected java.lang.StringBuffer |
dBuff
This is the buffer to add the message text. |
protected java.lang.String |
dPassword
|
protected int |
dStatus
|
protected java.lang.String |
dUser
|
Constructor Summary | |
Ping(javax.mail.internet.MimeMessage aMsg)
|
Method Summary | |
protected javax.mail.internet.MimeBodyPart |
addTextPart()
Build the text message whith header, body and footer part. |
protected javax.mail.Multipart |
buildMessage()
This method create a MimeMultipart object and adds to it the text part of message. |
protected boolean |
checkUserPassword()
|
protected boolean |
checkUserPermission()
Return true if the user can perform the operations. |
java.lang.String |
getCommand()
Extract the part of subject that is the command to Jordino! |
protected java.lang.String |
getOperationPermission()
Return the string rappresentation of permission to perform the specific response. |
int |
getStatus()
Return the object status. |
protected java.lang.String |
parseEngine(java.lang.String aLine)
|
protected void |
prepareTextBody()
|
protected void |
prepareTextFooter()
Puts a foother to body text. |
protected void |
prepareTextHeader()
Puts an header to body text. |
protected void |
translateFrom()
By default the sender is the receiver of answer. |
protected void |
translateSubject()
Build the subject of answer removing the Jordino command at the and of original subject and prefix itself with "jdR: " string. |
protected void |
translateTo()
By default the receiver of response is the sender of answer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int dStatus
protected java.lang.StringBuffer dBuff
protected java.lang.String dUser
protected java.lang.String dPassword
protected java.lang.String dAction
Constructor Detail |
public Ping(javax.mail.internet.MimeMessage aMsg)
Method Detail |
protected void prepareTextBody()
public java.lang.String getCommand()
public int getStatus()
protected void translateTo() throws javax.mail.MessagingException
javax.mail.MessagingException
protected void translateFrom() throws javax.mail.MessagingException
javax.mail.MessagingException
protected void translateSubject() throws javax.mail.MessagingException
javax.mail.MessagingException
protected void prepareTextHeader()
protected void prepareTextFooter()
protected javax.mail.internet.MimeBodyPart addTextPart()
protected javax.mail.Multipart buildMessage()
protected java.lang.String getOperationPermission()
protected boolean checkUserPermission()
protected boolean checkUserPassword()
protected java.lang.String parseEngine(java.lang.String aLine)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |