org.jivesoftware.spark.filetransfer
Interface FileTransferListener
public interface FileTransferListener
Implementation of the TransferListener
interface allows for
handling of file transfers externally of the default behaviour.
- Author:
- Derek DeMoro
Method Summary |
boolean |
handleTransfer(org.jivesoftware.smackx.filetransfer.FileTransferRequest request)
Returns true if the object wishes to handle the file transfer itself. |
handleTransfer
boolean handleTransfer(org.jivesoftware.smackx.filetransfer.FileTransferRequest request)
- Returns true if the object wishes to handle the file transfer itself. Otherwise,
it will default.
- Parameters:
request
- the FileTransferRequest
- Returns:
- true if object handles transfer request.