jxtaimpl
Class DownloadManager
java.lang.Object
|
+--java.lang.Thread
|
+--jxtaimpl.DownloadManager
- All Implemented Interfaces:
- Runnable
- public class DownloadManager
- extends Thread
This class manages uploads required by remote nests. The JXTA-Enabled
DownloadService
instantiates this class for each incoming request
- Author:
- Francesco Russo (frusso@cs.unibo.it)
Constructor Summary |
DownloadManager(Nest nest,
PipeService pipeServ,
Message msg)
This is the constructor. |
Method Summary |
void |
run()
The DownloadManager's logic |
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, start, stop, stop, suspend, toString, yield |
DownloadManager
public DownloadManager(Nest nest,
PipeService pipeServ,
Message msg)
- This is the constructor.
- Parameters:
nest
- The local nest jxtaimpl.Nest
instancepipeServ
- A reference to the JXTA-PipeService
instancemsg
- The net.jxta.endpoint.Message message to process
run
public void run()
- The DownloadManager's logic
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread