|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
jhomenet.shell.server.Session
jhomenet.shell.server.local.LocalSession
public class LocalSession
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jhomenet.shell.server.Session |
|---|
Session.Login |
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected boolean |
pauseSession
Flag used to pause and restart the local session |
| Fields inherited from class jhomenet.shell.server.Session |
|---|
commandHistory, CURRENT_COMMAND, CURRENT_DIRECTORY, currentCommand, err, in, inCommand, lastCommand, loginStack, myThreadID, out, paramsArray, paramsVector, password, prompt, PROMPT, properties, retArray, server, shutdown, systemInterface, userName, welcomeMessage |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
LocalSession(SystemInputStream in,
SystemPrintStream out,
SystemPrintStream err,
Server server)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
currentCommandFinished()
Notifies this session that the current command has completed. |
void |
exceptionThrown(java.lang.Exception e)
Notifies this session that exception was thrown when executing a command. |
void |
login()
Logs a user into the system. |
void |
newCommand(ConsoleEvent event)
|
void |
sessionEnding()
Cleans up any resources associated with this session when it terminates. |
| Methods inherited from class jhomenet.shell.server.Session |
|---|
addToHistory, broadcast, endSession, execute, forceEndSession, getEnvironment, getErrStream, getFromEnvironment, getHistoryNumber, getNextCommand, getOutputStream, getParams, getUserName, inCommand, parseLogin, printHistory, run, stepDownHistory, stepUpHistory, su, updatePrompt |
| 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 |
|---|
protected boolean pauseSession
| Constructor Detail |
|---|
public LocalSession(SystemInputStream in,
SystemPrintStream out,
SystemPrintStream err,
Server server)
in - out - err - server - | Method Detail |
|---|
public void login()
throws java.io.IOException
Session
login in class Sessionjava.io.IOExceptionSession.login()public void currentCommandFinished()
Session
currentCommandFinished in class SessionSession.currentCommandFinished()public void sessionEnding()
Session
sessionEnding in class SessionSession.sessionEnding()public void exceptionThrown(java.lang.Exception e)
Session
exceptionThrown in class Sessione - the exception thrownSession.exceptionThrown(java.lang.Exception)public void newCommand(ConsoleEvent event)
newCommand in interface ConsoleListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||