public interface FileTransferInterceptor
Modifier and Type | Method and Description |
---|---|
void |
interceptFileTransfer(FileTransfer transfer,
boolean isReady)
Invokes the interceptor on the specified file transfer.
|
void interceptFileTransfer(FileTransfer transfer, boolean isReady) throws FileTransferRejectedException
It is recommended for the the sake of user experience that when in the not ready state, any processing done on the file transfer should be quick.
transfer
- the transfer being interceptedisReady
- 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
Copyright © 2003-2008 Jive Software.