public interface ProxyTransfer extends Cacheable, FileTransferProgress
Modifier and Type | Method and Description |
---|---|
void |
doTransfer()
Transfers the file from the initiator to the target.
|
String |
getTransferDigest()
Returns the transfer digest uniquely identifies a file transfer in the system.
|
boolean |
isActivatable()
Returns true if the Bytestream is ready to be activated and the proxy transfer can begin.
|
void |
setTransferDigest(String digest)
Sets the transfer digest for a file transfer.
|
getCachedSize
getAmountTransferred, getInitiator, getInputStream, getOutputStream, getSessionID, getTarget, setInitiator, setInputStream, setOutputStream, setSessionID, setTarget, setTransferFuture
void setTransferDigest(String digest)
digest
- the digest which uniquely identifies this transfer.String getTransferDigest()
boolean isActivatable()
void doTransfer() throws IOException
IOException
- when an error occurs either reading from the input stream or
writing to the output stream.Copyright © 2003-2008 Jive Software.