java.lang.Runnable
protected 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, wait
activeCount, 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, yield
public SocketHandler(int port) throws java.io.IOException
java.io.IOException
public void finalize()
finalize
in class java.lang.Object
public void close()
public void send(java.lang.String message)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Copyright 2000-2007 Apache Software Foundation.