org.lateralnz.panther.util
Class ConsoleConnector

java.lang.Object
  extended by java.lang.Thread
      extended by org.lateralnz.common.telnet.Server
          extended by org.lateralnz.panther.util.ConsoleConnector
All Implemented Interfaces:
java.lang.Runnable, Constants

public class ConsoleConnector
extends Server
implements Constants


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.util.ArrayList functions
           
 long time
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.lateralnz.common.util.Constants
AMPERSAND, AND, APPLICATION_X_WWW_FORM_URLENCODED, ASTERISK, AT, BACK_SLASH, CHAR_LEFT_CHEV, CHAR_RIGHT_CHEV, COLON, COMMA, CRLF, DASH, DELETE, DOLLAR, DOT, DOT_CLASS, DOT_JAVA, EIGHT, EMPTY, EQUALS, FALSE, FILE_SEPARATOR, FIVE, FORWARD_SLASH, FOUR, FULLSTOP, HASH, HAT, INSERT, LEFT_BRACE, LEFT_BRACKET, LEFT_CHEV, MAX_LEN_APPCODE, MAX_LEN_APPGROUP, MAX_LEN_MSGCODE, MAX_LEN_MSGTEXT, MINUS_ONE, N, NEWLINE, NINE, NO, NULL_STRING, OFF, ON, ONE, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_WEEK, PATH_SEPARATOR, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE, REQUIRED, REQUIRES_NEW, RETURN, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CHEV, SELECT, SEMICOLON, SEVEN, SINGLE_QUOTE, SIX, SPACE, SQ_LEFT_BRACKET, SQ_RIGHT_BRACKET, SUPPORTS, TEXT_HTML, TEXT_PLAIN, TEXT_XML, THREE, TRUE, TWO, UNDERSCORE, UPDATE, UTF_8, Y, YES, ZERO
 
Fields inherited from interface org.lateralnz.common.telnet.Constants
AO, AYT, BACKSPACE, BRK, CARRIAGE_RETURN, DM, DO, DONT, EC, ECHO, EL, ENVIRONMENT_VARS, ESC_DOWN, ESC_LEFT, ESC_RIGHT, ESC_UP, ESCAPE, GA, IAC, IP, LINEFEED, LINEMODE, NOP, NULL, REMOTE_FLOW_CONTROL, SB, SE, STATUS, SUPPRESS_GO_AHEAD, TERMINAL_SPEED, TERMINAL_TYPE, TIMING_MARK, WILL, WINDOW_SIZE, WONT
 
Constructor Summary
ConsoleConnector(int port, java.lang.String dir, java.lang.String allowFromRegex)
           
 
Method Summary
 void init()
           
 void shutdown()
           
 
Methods inherited from class org.lateralnz.common.telnet.Server
getCommand, getCommandString, main, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

public long time

functions

protected java.util.ArrayList functions
Constructor Detail

ConsoleConnector

public ConsoleConnector(int port,
                        java.lang.String dir,
                        java.lang.String allowFromRegex)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

init

public void init()
          throws java.io.IOException
Throws:
java.io.IOException

shutdown

public void shutdown()
Overrides:
shutdown in class Server