public enum FileTransferState extends java.lang.Enum<FileTransferState>
| Enum Constant and Description |
|---|
Closed
The file transfer connection is closed and disconnected.
|
Connected
The file transfer connection has been established.
|
Connecting
The file transfer connection is connecting.
|
Failed
The file transfer connection failed with some reason.
|
Initialized
The file transfer connection is initialized.
|
| Modifier and Type | Method and Description |
|---|---|
static FileTransferState |
valueOf(int state)
Get carrier file transfer state from state value.
|
static FileTransferState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileTransferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransferState Initialized
public static final FileTransferState Connecting
public static final FileTransferState Connected
public static final FileTransferState Closed
public static final FileTransferState Failed
public static FileTransferState[] values()
for (FileTransferState c : FileTransferState.values()) System.out.println(c);
public static FileTransferState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FileTransferState valueOf(int state)
state - The state value.