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)

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadManager

public DownloadManager(Nest nest,
                       PipeService pipeServ,
                       Message msg)
This is the constructor.

Parameters:
nest - The local nest jxtaimpl.Nest instance
pipeServ - A reference to the JXTA-PipeService instance
msg - The net.jxta.endpoint.Message message to process
Method Detail

run

public void run()
The DownloadManager's logic

Specified by:
run in interface Runnable
Overrides:
run in class Thread