程序包 | 说明 |
---|---|
com.sinacloud.scs.services.scs.transfer |
Transfer management.
|
com.sinacloud.scs.services.scs.transfer.internal |
限定符和类型 | 方法和说明 |
---|---|
Transfer.TransferState |
Transfer.getState()
Returns the current state of this transfer.
|
static Transfer.TransferState |
Transfer.TransferState.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Transfer.TransferState[] |
Transfer.TransferState.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 字段和说明 |
---|---|
protected Transfer.TransferState |
AbstractTransfer.state
The current state of this transfer.
|
限定符和类型 | 方法和说明 |
---|---|
Transfer.TransferState |
AbstractTransfer.getState()
Returns the current state of this transfer.
|
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractTransfer.notifyStateChangeListeners(Transfer.TransferState state)
Notifies all the registered state change listeners of the state update.
|
void |
AbstractTransfer.setState(Transfer.TransferState state)
Sets the current state of this transfer.
|
void |
DownloadImpl.setState(Transfer.TransferState state)
This method is also responsible for firing COMPLETED signal to the
listeners.
|
void |
MultipleFileTransfer.setState(Transfer.TransferState state)
Override this method so that TransferState updates are also sent out to the
progress listener chain in forms of ProgressEvent.
|
void |
TransferStateChangeListener.transferStateChanged(Transfer transfer,
Transfer.TransferState state) |
Copyright © 2016. All rights reserved.