|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread dist1.acb.common.transport.AbstractClientSocket dist1.acb.ACBpoint.transport.DownloadFile
Separate thread that cares of downloading the file. Created on demand
Nested Class Summary |
Nested classes inherited from class dist1.acb.common.transport.AbstractClientSocket |
AbstractClientSocket.SocketAndStreams |
Field Summary |
Fields inherited from class dist1.acb.common.transport.AbstractClientSocket |
isShutdowned, log, objectStreamFactory, socket |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
DownloadFile(java.net.InetSocketAddress peerAddress,
java.lang.String fileName,
int rowFile,
long fileSize,
long startSegmentId,
java.lang.Integer fileId)
Creates a new DownloadFile object. |
Method Summary | |
protected void |
handleConnectionEstablished()
|
protected boolean |
handleConnectionLost()
|
protected void |
handleUnrecoverableError(java.lang.Throwable e)
|
void |
run()
Thread the downloads the file |
Methods inherited from class dist1.acb.common.transport.AbstractClientSocket |
connect, connect, connect, getResponse, getServerAddr, getServersAddresses, handleResponseToNoRequest, isConnected, receiveResponse, request, request, scheduleRequest, setServersAddresses, start |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DownloadFile(java.net.InetSocketAddress peerAddress, java.lang.String fileName, int rowFile, long fileSize, long startSegmentId, java.lang.Integer fileId)
peerAddress
- DOCUMENT ME!fileName
- DOCUMENT ME!rowFile
- DOCUMENT ME!fileSize
- DOCUMENT ME!startSegmentId
- DOCUMENT ME!fileId
- DOCUMENT ME!Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class AbstractClientSocket
java.lang.RuntimeException
- DOCUMENT ME!protected void handleConnectionEstablished()
handleConnectionEstablished
in class AbstractClientSocket
protected boolean handleConnectionLost()
handleConnectionLost
in class AbstractClientSocket
protected void handleUnrecoverableError(java.lang.Throwable e)
handleUnrecoverableError
in class AbstractClientSocket
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |