com.threerings.presents.client
Class BlockingCommunicator.Writer
java.lang.Object
java.lang.Thread
com.samskivert.util.LoopingThread
com.threerings.presents.client.BlockingCommunicator.Writer
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- BlockingCommunicator
protected class BlockingCommunicator.Writer
- extends LoopingThread
The writer encapsulates the message writing process. It calls back to the Communicator class to do things, but the general flow of the writer thread is encapsulated
in this class.
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
BlockingCommunicator.Writer
public BlockingCommunicator.Writer()
shutdown
public void shutdown()
- Overrides:
shutdown in class LoopingThread
iterate
protected void iterate()
- Overrides:
iterate in class LoopingThread
handleIterateFailure
protected void handleIterateFailure(Exception e)
- Overrides:
handleIterateFailure in class LoopingThread
didShutdown
protected void didShutdown()
- Overrides:
didShutdown in class LoopingThread