public interface IOutgoingFileTransferResponseEvent extends IOutgoingFileTransferEvent
IFileTransferListener
associated with
IOutgoingFileTransfer
instances when a response is received from the
remote target (or provider times out).Modifier and Type | Method and Description |
---|---|
boolean |
requestAccepted()
If request was accepted from remote target this method will return true,
if rejected or failed returns false.
|
void |
setFileTransferJob(FileTransferJob job)
Set the
FileTransferJob to use for the actual file transfer. |
getSource
boolean requestAccepted()
void setFileTransferJob(FileTransferJob job)
FileTransferJob
to use for the actual file transfer. This method only
has effect if the requestAccepted()
returns true
.job
- the job to use. If null
, or this method is not called, then
a default FileTransferJob is used. NOTE: the given job should
*not* be scheduled/started prior to being provided as a parameter to this method.Copyright © 2017 Eclipse Foundation. All rights reserved.