|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.dwarf.mail.smtp.Delivery
Provides message delivery information.
This class provides some useful information about the particular mail delivery attempts. It may also be used to mark the message as delivered/rejected/failed by adding an instance of it to the message recipients represented by the Recipient objects.
Constructor Summary | |
protected |
Delivery(long time,
java.lang.String status,
java.lang.String message)
Creates a new Delivery. |
protected |
Delivery(Node node,
long time,
java.net.InetAddress host,
java.lang.String status,
java.lang.String message)
Creates a new Delivery with the given delivery attempt reference. |
Method Summary | |
java.net.InetAddress |
getHost()
Returns the target host address. |
java.lang.String |
getMessage()
Returns the SMTP status message. |
java.lang.String |
getNodeId()
Returns the delivery attempt identification. |
java.lang.String |
getStatus()
Returns the SMTP status number. |
long |
getTime()
Returns the time of the delivery attempt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Delivery(long time, java.lang.String status, java.lang.String message)
time
- the time of the delivery attemptstatus
- the SMTP status number in format of X.Y.Zmessage
- the SMTP status messageprotected Delivery(Node node, long time, java.net.InetAddress host, java.lang.String status, java.lang.String message)
node
- the delivery attempt identificationtime
- the time of delivery attempthost
- the target host addressstatus
- the SMTP status number in format of X.Y.Zmessage
- the SMTP status messageMethod Detail |
public java.lang.String getNodeId()
public long getTime()
public java.net.InetAddress getHost()
public java.lang.String getStatus()
public java.lang.String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |