|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SMTPFetcher.State>
org.mmbase.module.smtp.SMTPFetcher.State
static enum SMTPFetcher.State
| Enum Constant Summary | |
|---|---|
DATA
We received a DATA and we are now processing the data |
|
FINISHED
We received a QUIT, and that we may close the connection |
|
HELO
We sent our '220' initial session instantiation message, and are now waiting for a HELO |
|
IDLE
|
|
MAILFROM
We received a HELO and we are now waiting for a 'MAIL FROM:' |
|
RCPTTO
We received a MAIL FROM and we are now waiting for a 'RCPT TO:' |
|
| Method Summary | |
|---|---|
static SMTPFetcher.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SMTPFetcher.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SMTPFetcher.State IDLE
public static final SMTPFetcher.State HELO
public static final SMTPFetcher.State MAILFROM
public static final SMTPFetcher.State RCPTTO
public static final SMTPFetcher.State DATA
public static final SMTPFetcher.State FINISHED
| Method Detail |
|---|
public static SMTPFetcher.State[] values()
for (SMTPFetcher.State c : SMTPFetcher.State.values()) System.out.println(c);
public static SMTPFetcher.State valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||