com.ontimize.dms.warehouse.remote
Class DownloadServer
java.lang.Object
com.ontimize.dms.warehouse.remote.ServerTransfer
com.ontimize.dms.warehouse.remote.DownloadServer
- All Implemented Interfaces:
- TransferModelEventListener
public abstract class DownloadServer
- extends ServerTransfer
|
Constructor Summary |
DownloadServer(java.lang.String pathBase,
int inactInterval,
int inactGap)
|
| Methods inherited from class com.ontimize.dms.warehouse.remote.ServerTransfer |
addModelListener, getBasePath, getTempPath, haveToUpdate, inactivityVerification, isOverload, removeModelListener, setOpenMax, setTransferTrace, stop, transferFinish |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadServer
public DownloadServer(java.lang.String pathBase,
int inactInterval,
int inactGap)
startDownload
public TransferResponse startDownload(Document document,
java.lang.Number version,
int sessionId,
java.io.File fout,
java.lang.Object lastModification)
throws java.lang.Exception
- Throws:
java.lang.Exception
downloadData
public IDataBlock downloadData(java.lang.String path,
int sessionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
isActive
public boolean isActive(Document document,
int sessionId)
throws java.lang.Exception
- Specified by:
isActive in class ServerTransfer
- Throws:
java.lang.Exception
fireModelEvent
public void fireModelEvent(TransferInfo event)
- Specified by:
fireModelEvent in interface TransferModelEventListener- Overrides:
fireModelEvent in class ServerTransfer