|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileTransferManager
Manages all file transfer currently happening originating from and/or ending at users of the server. From here, file transfers can be administered and stats can be tracked.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from interface org.jivesoftware.openfire.container.Module |
---|
destroy, getName, initialize, start, stop |
Field Detail |
---|
static final String NAMESPACE_SI
static final String NAMESPACE_SI_FILETRANSFER
static final String NAMESPACE_BYTESTREAMS
Method Detail |
---|
boolean acceptIncomingFileTransferRequest(FileTransfer transfer) throws FileTransferRejectedException
transfer
- the transfer to test for acceptance
FileTransferRejectedException
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
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |