|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.shlublu.javax.lang.BasicThread | +--org.shlublu.javax.io.IOStreamCrossedConnector
Creation : 28 sept 2001 This class id dedicated to cross-connect couple of streams, like a client and a server.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
IOStreamCrossedConnector(IOStream iosClient,
IOStream iosServer)
CTor |
Method Summary | |
protected void |
doCleanup()
unused |
protected void |
doCrashCleanup()
unused |
protected void |
doIteration()
Each step consist in the transmission of available data between client and server |
protected void |
doStartup()
unused |
Methods inherited from class org.shlublu.javax.lang.BasicThread |
getCrashReason, run, stopJob |
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 |
Constructor Detail |
public IOStreamCrossedConnector(IOStream iosClient, IOStream iosServer) throws IOStreamException
IOStream
- iosClient The client's couple of streamsIOStream
- iosServer The server's couple of streamsIOStreamException
- when there's a problem with the IOStream'sMethod Detail |
protected void doIteration() throws java.lang.Exception
doIteration
in class BasicThread
java.lang.Exception
- as defined by BasicThreadBasicThread.doIteration()
protected void doStartup() throws java.lang.Exception
doStartup
in class BasicThread
java.lang.Exception
- as defined by BasicThreadprotected void doCleanup() throws java.lang.Exception
doCleanup
in class BasicThread
java.lang.Exception
- as defined by BasicThreadprotected void doCrashCleanup()
doCrashCleanup
in class BasicThread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |