DBAbstract API Documentation

ro.raducora.connection.server.telnet
Class TelnetServer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ro.raducora.connection.server.telnet.TelnetServer
All Implemented Interfaces:
java.lang.Runnable, Server

public class TelnetServer
extends java.lang.Thread
implements Server

Author:
Radu Coravu
A Telnet Server used to reload porperties files without stopping the DBAbstract Server

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TelnetServer(int PORT)
          Constructor.
 
Method Summary
 void reload()
          Do nothing
 void run()
          Runs the Server.
 void startServer()
          Start the Server
 void stopServer()
          Stop the Server
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TelnetServer

public TelnetServer(int PORT)
Constructor.

Parameters:
PORT - the telnet server PORT
Method Detail

run

public void run()
Runs the Server.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

startServer

public void startServer()
Start the Server

Specified by:
startServer in interface Server

stopServer

public void stopServer()
Stop the Server

Specified by:
stopServer in interface Server

reload

public void reload()
            throws java.lang.Exception
Do nothing

Specified by:
reload in interface Server
Throws:
java.lang.Exception

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.