|
|||||||||
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,
java.lang.String client,
java.lang.String version,
java.lang.String sPackage)
Constructs and initializes UpdateThread |
Method Summary | |
void |
run()
Main loop does updating using PUP-protocol |
void |
setDebug(int debug)
|
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, java.lang.String client, java.lang.String version, java.lang.String sPackage)
main
- ServerMain -class creating this instanceclient
- client to be updatedversion
- version id of the package to be updatedsPackage
- path to the package file to be uloadedMethod Detail |
public void setDebug(int debug)
public void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |