|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread biz.chitec.quarterback.gjsa.server.GJSAServer.SocketListeningThread
Socket listening thread. Gets its socket object, listenes on it, starts up handlers for incoming connections.
Field Summary | |
private java.lang.String |
ads
|
private int |
connencode
|
private boolean |
continueloop
|
private boolean |
isenc
|
private Logger |
mess
|
private java.lang.String |
mydescription
|
private java.net.ServerSocket |
serversocket
|
private GJSAServer |
srv
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
GJSAServer.SocketListeningThread(GJSAServer srvx,
java.net.ServerSocket ssx,
int connencodex,
boolean isencx)
Initialize the listening thread. |
Method Summary | |
void |
run()
Handle it all. |
void |
setAdditionalString(java.lang.String adsx)
Sets the additionalString attribute of the SocketListeningThread object |
void |
stopMe()
Initiates stopping this listening thread by closing the socket. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 |
private GJSAServer srv
private java.net.ServerSocket serversocket
private Logger mess
private boolean isenc
private int connencode
private java.lang.String mydescription
private java.lang.String ads
private boolean continueloop
Constructor Detail |
public GJSAServer.SocketListeningThread(GJSAServer srvx, java.net.ServerSocket ssx, int connencodex, boolean isencx)
srvx
- Server the thread is belonging to.ssx
- Socket to listen on.connencodex
- Encoding mode of the connection.isencx
- Flag whether the connection is encrypted or not.Method Detail |
public void setAdditionalString(java.lang.String adsx)
adsx
- The new additionalString valuepublic void stopMe()
public void run()
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |