common
Class TransfertScheduler

java.lang.Object
  extended by java.lang.Thread
      extended by common.StoppableThread
          extended by common.TransfertSlave
              extended by common.ThreadStopper
                  extended by common.TransfertScheduler
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ClientScheduler, ServerScheduler

public class TransfertScheduler
extends ThreadStopper

Ordonnanceur de transfert.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  int tcpPort
          Port TCP.
protected  int udpPort
          Port UDP.
 
Fields inherited from class common.TransfertSlave
master
 
Fields inherited from class common.StoppableThread
quitQuery
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected TransfertScheduler(TransfertMaster master, String tcpPort, String udpPort)
          Initialise l'ordonnanceur de transfert et analyse les ports TCP et UDP.
 
Method Summary
 
Methods inherited from class common.ThreadStopper
quitThreadAndWait
 
Methods inherited from class common.StoppableThread
doFree, doQuit, free, quit
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

tcpPort

protected final int tcpPort
Port TCP.


udpPort

protected final int udpPort
Port UDP.

Constructor Detail

TransfertScheduler

protected TransfertScheduler(TransfertMaster master,
                             String tcpPort,
                             String udpPort)
                      throws TransfertFailure
Initialise l'ordonnanceur de transfert et analyse les ports TCP et UDP.

Parameters:
master - objet maître.
tcpPort - port TCP (non analysé).
udpPort - port UDP (non analysé).
Throws:
TransfertFailure - si le port TCP ou UDP n'est pas un nombre valide.