|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DccEvent.DccType>
jerklib.events.dcc.DccEvent.DccType
public static enum DccEvent.DccType
Type enum is used to determine type. It is returned from getDccType()
| Enum Constant Summary | |
|---|---|
ACCEPT
If the sender supports DCC RESUME, it replies with: DCC ACCEPT filename port position |
|
CHAT
Request to start a DCC CHAT. |
|
RESUME
Ask the sender to skip part of the file. |
|
SEND
Request to start a DCC SEND. |
|
UNKNOWN
Used then the DCC command is unknown. |
|
| Method Summary | |
|---|---|
static DccEvent.DccType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DccEvent.DccType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 DccEvent.DccType SEND
public static final DccEvent.DccType RESUME
public static final DccEvent.DccType ACCEPT
public static final DccEvent.DccType CHAT
public static final DccEvent.DccType UNKNOWN
| Method Detail |
|---|
public static DccEvent.DccType[] values()
for (DccEvent.DccType c : DccEvent.DccType.values()) System.out.println(c);
public static DccEvent.DccType 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 | |||||||||