protected class TelnetAppender.SocketHandler extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SocketHandler(int port) |
| Modifier and Type | Method and 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(String message)
sends a message to each of the clients in telnet-friendly output.
|
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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic SocketHandler(int port)
throws IOException
IOExceptionpublic void close()
public void send(String message)
Copyright © 1999–2024 QOS.CH Sarl (Switzerland). All rights reserved.