public interface FileTransferManager extends Module
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE_BYTESTREAMS
Bytestreams namespace
|
static String |
NAMESPACE_SI
The Stream Initiation, SI, namespace.
|
static String |
NAMESPACE_SI_FILETRANSFER
Namespace for the file transfer profile of Stream Initiation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptIncomingFileTransferRequest(FileTransfer transfer)
Checks an incoming file transfer request to see if it should be accepted or rejected.
|
void |
addFileTransferInterceptor(FileTransferInterceptor interceptor) |
void |
fireFileTransferIntercept(FileTransferProgress transfer,
boolean isReady) |
void |
registerProxyTransfer(String transferDigest,
ProxyTransfer proxyTransfer)
Registers that a transfer has begun through the proxy connected to the server.
|
void |
removeFileTransferInterceptor(FileTransferInterceptor interceptor) |
static final String NAMESPACE_SI
static final String NAMESPACE_SI_FILETRANSFER
static final String NAMESPACE_BYTESTREAMS
boolean acceptIncomingFileTransferRequest(FileTransfer transfer) throws FileTransferRejectedException
transfer
- the transfer to test for acceptanceFileTransferRejectedException
void registerProxyTransfer(String transferDigest, ProxyTransfer proxyTransfer) throws UnauthorizedException
transferDigest
- the digest of the initiator + target + sessionID that uniquely
identifies a file transferproxyTransfer
- the related proxy transfer.UnauthorizedException
- when in the current server configuration this transfer
should not be permitted.void addFileTransferInterceptor(FileTransferInterceptor interceptor)
void removeFileTransferInterceptor(FileTransferInterceptor interceptor)
void fireFileTransferIntercept(FileTransferProgress transfer, boolean isReady) throws FileTransferRejectedException
FileTransferRejectedException
Copyright © 2003-2008 Jive Software.