|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileTransferInterceptor
Interface used to capture a file transfer before it begins.
Method Summary | |
---|---|
void |
interceptFileTransfer(FileTransfer transfer,
boolean isReady)
Invokes the interceptor on the specified file transfer. |
Method Detail |
---|
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
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |