temp
Class GestionUDPS2

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--temp.GestionUDPS2
All Implemented Interfaces:
java.lang.Runnable, UDPSocketReader

public class GestionUDPS2
extends java.lang.Thread
implements UDPSocketReader


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GestionUDPS2(GestionUDP gestionUDP, UDPServer server, javax.swing.JTextArea textAreaEtatApplication, javax.swing.JProgressBar progressBar)
          Initialise le Thread.
 
Method Summary
static void main(java.lang.String[] args)
          Methode main: destinee a tester al classe courante
 void run()
          Gestion ping pong.
 void wakeUp()
          Implantation.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GestionUDPS2

public GestionUDPS2(GestionUDP gestionUDP,
                    UDPServer server,
                    javax.swing.JTextArea textAreaEtatApplication,
                    javax.swing.JProgressBar progressBar)
Initialise le Thread.

Parameters:
gestionUDP - La classe parente
textAreaEtatApplication - La JTextArea pour afficher les messages concernant l'exécution de l'application
progressBar - La barre de progression de l'application
Method Detail

wakeUp

public void wakeUp()
Implantation.

Specified by:
wakeUp in interface UDPSocketReader

run

public void run()
Gestion ping pong.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException
Methode main: destinee a tester al classe courante

java.io.FileNotFoundException