Netjunk
Class JawaServerReciever

java.lang.Object
  |
  +--Netjunk.JawaServerReciever
All Implemented Interfaces:
java.lang.Runnable

public class JawaServerReciever
extends java.lang.Object
implements java.lang.Runnable


Field Summary
static java.net.Socket cSocket
           
 
Constructor Summary
JawaServerReciever(Netjunk.JawaServerGUI tempFrame, java.net.Socket tempSocket)
          This is the constructor I don't totally understad this, but it works and it is based on an example from the course.
 
Method Summary
 void run()
          This is the multi-thread part of the program Once started, this start looping and whenever the server sends a message, this hears it and sends it to the GUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cSocket

public static java.net.Socket cSocket
Constructor Detail

JawaServerReciever

public JawaServerReciever(Netjunk.JawaServerGUI tempFrame,
                          java.net.Socket tempSocket)
This is the constructor I don't totally understad this, but it works and it is based on an example from the course.

Method Detail

run

public void run()
This is the multi-thread part of the program Once started, this start looping and whenever the server sends a message, this hears it and sends it to the GUI

Specified by:
run in interface java.lang.Runnable