com.ontimize.dms.warehouse.remote
Class UploadServer
java.lang.Object
com.ontimize.dms.warehouse.remote.ServerTransfer
com.ontimize.dms.warehouse.remote.UploadServer
- All Implemented Interfaces:
- TransferModelEventListener
public abstract class UploadServer
- extends ServerTransfer
|
Constructor Summary |
UploadServer(java.lang.String pathBase,
java.lang.String pathTemp,
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 |
UploadServer
public UploadServer(java.lang.String pathBase,
java.lang.String pathTemp,
int inactInterval,
int inactGap)
startUpload
public TransferResponse startUpload(Document document,
int action,
long filesize,
java.util.Map fields,
int sessionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
uploadData
public long uploadData(IDataBlock db,
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