public static enum RuleConverter.ModeTrans extends Enum<RuleConverter.ModeTrans>
Enum Constant and Description |
---|
receive
From requested to requester.
|
receiveMD5
From requested to requester, with MD5 checksum verification.
|
RECVMD5THROUGHMODE
From requested to requester, with MD5 checksum verification and
Through mode.
|
RECVTHROUGHMODE
From requested to requester, using Through mode.
|
send
From requester to requested.
|
sendMD5
From requester to requested, with MD5 checksum verification.
|
SENDMD5THROUGHMODE
From requester to requested, with MD5 checksum verification and
Through mode.
|
SENDTHROUGHMODE
From requester to requested, using Through mode.
|
Modifier and Type | Field and Description |
---|---|
int |
code
The database code of the transfer mode.
|
Modifier and Type | Method and Description |
---|---|
static RuleConverter.ModeTrans |
fromCode(int code)
Returns the ModeTrans value corresponding to the give code.
|
static RuleConverter.ModeTrans |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleConverter.ModeTrans[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleConverter.ModeTrans send
public static final RuleConverter.ModeTrans receive
public static final RuleConverter.ModeTrans sendMD5
public static final RuleConverter.ModeTrans receiveMD5
public static final RuleConverter.ModeTrans SENDTHROUGHMODE
public static final RuleConverter.ModeTrans RECVTHROUGHMODE
public static final RuleConverter.ModeTrans SENDMD5THROUGHMODE
public static final RuleConverter.ModeTrans RECVMD5THROUGHMODE
public static RuleConverter.ModeTrans[] values()
for (RuleConverter.ModeTrans c : RuleConverter.ModeTrans.values()) System.out.println(c);
public static RuleConverter.ModeTrans valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RuleConverter.ModeTrans fromCode(int code)
code
- the desired codeIllegalArgumentException
- if the code does not
correspond to a ModeTrans valueCopyright © 2009–2020 Waarp. All rights reserved.