org.jwall.rbl.net
Class AdminHandler
java.lang.Object
java.lang.Thread
org.jwall.rbl.net.AdminHandler
- All Implemented Interfaces:
- Runnable
public class AdminHandler
- extends Thread
This thread is a simple text-based tcp client, which accepts connections from
localhost only and provides a very small set of simple commands to manage the
RB-list of this server.
- Author:
- Christian Bockermann <chris@jwall.org>
|
Constructor Summary |
AdminHandler(RblServer server,
String addr,
int port)
Creates a new AdminHandler for the specified server, listening on the
given address and port. |
| Methods inherited from class java.lang.Thread |
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, yield |
AdminHandler
public AdminHandler(RblServer server,
String addr,
int port)
throws Exception
- Creates a new AdminHandler for the specified server, listening on the
given address and port.
- Parameters:
server - addr - port -
- Throws:
Exception
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
shutdown
public void shutdown()
Copyright © 2014. All Rights Reserved.