|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
jhomenet.shell.server.Server
jhomenet.shell.server.local.LocalServer
public class LocalServer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class jhomenet.shell.server.Server |
|---|
pauseServer, sessions, shutdown |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
LocalServer(SystemInterface systemInterface)
Default constructor. |
|
| Method Summary | |
|---|---|
protected Session |
acceptNewSession()
Waits for a connection request. |
void |
closeAllPorts()
Cleans up any system resources held by this server. |
static java.lang.String |
getWelcomeFile()
|
static boolean |
isRootAllowed()
Indicates whether root access is allowed to this Telnet server. |
| Methods inherited from class jhomenet.shell.server.Server |
|---|
broadcast, checkForNewSessions, getConnectedUsers, getSystemInterface, pauseServer, resumeServer, run, sessionEnded, shutDown |
| 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 |
| Constructor Detail |
|---|
public LocalServer(SystemInterface systemInterface)
| Method Detail |
|---|
protected Session acceptNewSession()
Server
acceptNewSession in class ServerServer.acceptNewSession()public void closeAllPorts()
Server
closeAllPorts in class ServerServer.closeAllPorts()public static boolean isRootAllowed()
true and root logins will be accepted.
This method will always return the value the variable had when the server
was constructed. Changing the value of properties variable after
creating the server will have no effect.
true if root is allowed to loginpublic static java.lang.String getWelcomeFile()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||