|
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.LegacyServerConnector.Reader
reader thread for a server connector. Reading is always handled in a separate thread to avoid deadlock situations.
Field Summary | |
private boolean |
continueloop
|
private int |
floodcount
|
private boolean |
floodsleep
internal flag if reader thread should wait |
private long |
floodstart
|
private ThreadInterface |
freefloating
|
private Logger |
mess
|
private boolean |
objmode
|
private java.io.ObjectInputStream |
ofromserver
|
private boolean |
printerr
|
private int |
readernum
|
private LegacyServerConnector |
servconnmaster
|
private java.io.BufferedReader |
sfromserver
|
private boolean |
stopme
|
private ThreadInterface |
synchronous
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
LegacyServerConnector.Reader(LegacyServerConnector sc,
ThreadInterface synch,
boolean objmodex)
Constructor for the Reader object |
Method Summary | |
ThreadInterface |
getFreeFloatingInterface()
Gets the freeFloatingInterface attribute of the Reader object |
void |
run()
Main processing method for the Reader object |
void |
setFreeFloatingInterface(ThreadInterface ti)
Sets the freeFloatingInterface attribute of the Reader object |
void |
setMessageLogger(Logger mx)
Sets the messageLogger attribute of the Reader object |
void |
stopMe()
Description of the Method |
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 LegacyServerConnector servconnmaster
private java.io.ObjectInputStream ofromserver
private java.io.BufferedReader sfromserver
private ThreadInterface freefloating
private ThreadInterface synchronous
private boolean objmode
private boolean printerr
private boolean continueloop
private boolean stopme
private Logger mess
private boolean floodsleep
private long floodstart
private int floodcount
private int readernum
Constructor Detail |
public LegacyServerConnector.Reader(LegacyServerConnector sc, ThreadInterface synch, boolean objmodex) throws java.io.IOException
sc
- Description of the Parametersynch
- Description of the Parameterobjmodex
- Description of the Parameter
java.io.IOException
- Description of the ExceptionMethod Detail |
public void stopMe()
public void setMessageLogger(Logger mx)
mx
- The new messageLogger valuepublic void setFreeFloatingInterface(ThreadInterface ti)
ti
- The new freeFloatingInterface valuepublic ThreadInterface getFreeFloatingInterface()
public void run()
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |