|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Netjunk.JawaServerReciever
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 |
public static java.net.Socket cSocket
Constructor Detail |
public JawaServerReciever(Netjunk.JawaServerGUI tempFrame, java.net.Socket tempSocket)
Method Detail |
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |