org.colos.ejs.library.collaborative
Class ReceiverUDP

java.lang.Object
  extended by java.lang.Thread
      extended by org.colos.ejs.library.collaborative.ReceiverUDP
All Implemented Interfaces:
java.lang.Runnable

public class ReceiverUDP
extends java.lang.Thread

Thread UDP of the student applet


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReceiverUDP()
          Constructor without parameters.
ReceiverUDP(java.net.InetAddress serverIP, int portServer, int portOpenned, QuestionStudentTool tool)
          Constructor with parameters
 
Method Summary
 void run()
          Method run.
 
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

ReceiverUDP

public ReceiverUDP()
Constructor without parameters.


ReceiverUDP

public ReceiverUDP(java.net.InetAddress serverIP,
                   int portServer,
                   int portOpenned,
                   QuestionStudentTool tool)
Constructor with parameters

Parameters:
serverIP - InetAddress IP address of the server
portServer - int Server port
portOpenned - int Port openned for the student
tool - QuestionStudentTool Tool to manage the simulation
Method Detail

run

public void run()
Method run. Overload of Thread run method. Get the signals of master

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