Interface IOutgoingFileTransferResponseEvent
- All Superinterfaces:
Event
,IFileTransferEvent
,IOutgoingFileTransferEvent
Asynchronous event sent to
IFileTransferListener
associated with
IOutgoingFileTransfer
instances when a response is received from the
remote target (or provider times out).-
Method Summary
Modifier and TypeMethodDescriptionboolean
If request was accepted from remote target this method will return true, if rejected or failed returns false.void
Set theFileTransferJob
to use for the actual file transfer.Methods inherited from interface org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferEvent
getSource
-
Method Details
-
requestAccepted
boolean requestAccepted()If request was accepted from remote target this method will return true, if rejected or failed returns false.- Returns:
- true if request was accepted, false if rejected or failed
-
setFileTransferJob
Set theFileTransferJob
to use for the actual file transfer. This method only has effect if therequestAccepted()
returnstrue
.- Parameters:
job
- the job to use. Ifnull
, 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.
-