public interface FileTransferEventListener
Modifier and Type | Method and Description |
---|---|
void |
fileTransferComplete(FileTransfer transfer,
boolean wasSuccessful)
Invoked when a file transfer was completed.
|
void |
fileTransferStart(FileTransfer transfer,
boolean isReady)
Invoked when a file transfer is about to start..
|
void fileTransferStart(FileTransfer transfer, boolean isReady) throws FileTransferRejectedException
transfer
- the transfer being intercepted (never null).isReady
- true if the transfer is ready to commence or false if this is related to the
initial file transfer request. An exception at this point will cause the transfer to
not go through.FileTransferRejectedException
void fileTransferComplete(FileTransfer transfer, boolean wasSuccessful)
transfer
- the transfer being intercepted (never null).wasSuccessful
- false when an exception was thrown during file transfer, otherwise true.Copyright © 2003-2008 Jive Software.