java.lang.Objectjava.lang.Thread
org.apache.log4j.net.TelnetAppender.SocketHandler
The SocketHandler class is used to accept connections from clients. It is threaded so that clients can connect/disconnect asynchronously.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TelnetAppender.SocketHandler(int port)
|
Method Summary | |
void |
finalize()
make sure we close all network connections when this handler is destroyed. |
void |
run()
Continually accepts client connections. |
void |
send(String message)
sends a message to each of the clients in telnet-friendly output. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TelnetAppender.SocketHandler(int port) throws IOException
Method Detail |
public void finalize()
public void send(String message)
public void run()
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.