|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--synapsi.net.UpdateThread
Implements a thread to handle updating one client. Uses PUP-protocol.
Field Summary | |
boolean |
stop
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
UpdateThread(MainForNet main,
DataClient client,
DataVersion version)
Constructs and initializes UpdateThread |
Method Summary | |
void |
run()
Mainloop does updating using PUP-protocol |
void |
setDebug(int debug)
Set debug level |
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 |
public boolean stop
Constructor Detail |
public UpdateThread(MainForNet main, DataClient client, DataVersion version)
main
- ServerMain -class creating this instanceclient
- client to be updatedversion
- version of the package to be updatedMethod Detail |
public void setDebug(int debug)
debug
- debug levelpublic void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |