java.lang.Runnableprotected class TelnetAppender.SocketHandler
extends java.lang.Thread
| Constructor | Description |
|---|---|
SocketHandler(int port) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
make sure we close all network connections when this handler is destroyed.
|
void |
finalize() |
|
void |
run() |
Continually accepts client connections.
|
void |
send(java.lang.String message) |
sends a message to each of the clients in telnet-friendly output.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic SocketHandler(int port)
throws java.io.IOException
java.io.IOExceptionpublic void finalize()
finalize in class java.lang.Objectpublic void close()
public void send(java.lang.String message)
public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadCopyright 2000-2007 Apache Software Foundation.