public enum DataConnectionMode extends Enum<DataConnectionMode>
Enum Constant and Description |
---|
ACTIVE_LOCAL
Data transfer mode where the server connects
to the client's data port.
|
PASSIVE_LOCAL
Data transfer mode where the client connects
to the server's data port and that the server is in
passive mode.
|
Modifier and Type | Method and Description |
---|---|
static DataConnectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataConnectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataConnectionMode ACTIVE_LOCAL
public static final DataConnectionMode PASSIVE_LOCAL
public static DataConnectionMode[] values()
for (DataConnectionMode c : DataConnectionMode.values()) System.out.println(c);
public static DataConnectionMode 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 nullCopyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.