|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--swpchat.client.OpenServer
Class to open a ServerSocket .
Field Summary | |
private ClientControls |
clientControls
|
private static java.lang.String |
CLS
|
private boolean |
continueRunning
|
private int |
fileCounter
|
private FileProtocolHandler |
protocolHandler
|
Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
Constructor Summary | |
OpenServer(ClientControls clientControls)
|
Method Summary | |
void |
addFileRequest()
increase FileRequestCounter |
void |
endServer()
stop ServerThread |
void |
removeFileRequest()
decrease fileRequestCounter |
void |
run()
|
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String CLS
private boolean continueRunning
private int fileCounter
private FileProtocolHandler protocolHandler
private ClientControls clientControls
Constructor Detail |
public OpenServer(ClientControls clientControls)
Method Detail |
public void run()
run
in class java.lang.Thread
public void endServer()
public void removeFileRequest()
public void addFileRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |