soccerclient.visualization
Class Update

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--soccerclient.visualization.Update
All Implemented Interfaces:
java.lang.Runnable

public class Update
extends java.lang.Thread

Überschrift: Update

Beschreibung: This class waits for data from Roboclient, deserialize the data and converts the result into a PlayerInfo object to set the values for painting on the field (FieldJPanel)

Copyright: Copyright (c) 2002

Organisation: pm39

Author:
J.F.G, Felix von Reischach

Field Summary
(package private)  int MAX
           
 
Fields inherited from class java.lang.Thread
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals
 
Constructor Summary
Update(java.net.DatagramSocket sock)
          Creates a new Update Thread
 
Method Summary
 void run()
          Waits for data from RoboClient to deserialize and convert it.
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
 

Field Detail

MAX

final int MAX
Constructor Detail

Update

public Update(java.net.DatagramSocket sock)
Creates a new Update Thread
Parameters:
sock - a DatagramSocket
Method Detail

run

public void run()
Waits for data from RoboClient to deserialize and convert it. After this the Runnable visUpdate is started.
Overrides:
run in class java.lang.Thread