|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.javamail.transport.smtp.SMTPConnection.SendStatus
public static class SMTPConnection.SendStatus
Simple holder class for the address/send status duple, as we can have mixed success for a set of addresses and a message
Field Summary | |
---|---|
static int |
GENERAL_ERROR
|
static int |
INVALID_ADDRESS
|
static int |
SEND_FAILURE
|
static int |
SUCCESS
|
Constructor Summary | |
---|---|
SMTPConnection.SendStatus(int s,
InternetAddress a,
String c,
org.apache.geronimo.javamail.transport.smtp.SMTPReply r)
Constructor for a SendStatus item. |
Method Summary | |
---|---|
InternetAddress |
getAddress()
Retrieve the InternetAddress object associated with this send operation. |
String |
getCommand()
Get the command string sent for this send operation. |
MessagingException |
getException(boolean reportSuccess)
Get an exception object associated with this send operation. |
org.apache.geronimo.javamail.transport.smtp.SMTPReply |
getReply()
Retrieve the reply information associated with this send operati |
int |
getStatus()
Get the status information for this item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SUCCESS
public static final int INVALID_ADDRESS
public static final int SEND_FAILURE
public static final int GENERAL_ERROR
Constructor Detail |
---|
public SMTPConnection.SendStatus(int s, InternetAddress a, String c, org.apache.geronimo.javamail.transport.smtp.SMTPReply r)
s
- The status type.a
- The address this is the status for.c
- The command string associated with this status.r
- The reply information from the server.Method Detail |
---|
public int getStatus()
public InternetAddress getAddress()
public org.apache.geronimo.javamail.transport.smtp.SMTPReply getReply()
public String getCommand()
public MessagingException getException(boolean reportSuccess)
reportSuccess
- Indicates if we want success operations too.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |