public enum PayloadStatus
- Object
- Enum<PayloadStatus>
- PayloadStatus
ImplementsComparable<PayloadStatus>
Where a payload transfer got to, carried by
PayloadTransferUpdate.Enum constants
IN_PROGRESS | Bytes are still moving. |
SUCCESS | Every byte arrived. |
FAILURE | The transfer failed and will not resume. |
CANCELED | The transfer was cancelled by either side. |
Methods
public static PayloadStatus[] values() | |
public static PayloadStatus valueOf(String name) |
Inherited methods
Enum constant details
IN_PROGRESS
IN_PROGRESSBytes are still moving.
PayloadTransferUpdate.getBytesTransferred()
says how many so far.SUCCESS
SUCCESSEvery byte arrived.
FAILURE
FAILUREThe transfer failed and will not resume.
CANCELED
CANCELEDThe transfer was cancelled by either side.
Method details
values
public static PayloadStatus[] values()valueOf
public static PayloadStatus valueOf(String name)