|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.gudy.azureus2.ui.console.ConsoleInput org.gudy.azureus2.ui.console.multiuser.MultiUserConsoleInput
public class MultiUserConsoleInput
subclass of the ConsoleInput object that is used for multi users. in this particular subclass, we replace some commands with our own versions and disable some commands.
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 org.gudy.azureus2.ui.console.ConsoleInput |
---|
adds, aliases, azureus_core, out, torrents |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
MultiUserConsoleInput(java.lang.String con,
AzureusCore _azureus_core,
java.io.Reader _in,
java.io.PrintStream _out,
java.lang.Boolean _controlling,
UserProfile profile)
set up the lists of commands that we prohibit, based upon the user type. |
Method Summary | |
---|---|
protected void |
initialise()
initialize our list of commands that need specific roles |
void |
registerCommand(IConsoleCommand command)
check whether the specified command is one of our banned commands for this particular user type. |
protected void |
registerCommands()
add some multi-user specific commands |
Methods inherited from class org.gudy.azureus2.ui.console.ConsoleInput |
---|
downloadRemoteTorrent, downloadRemoteTorrent, downloadTorrent, downloadTorrent, getCore, getDefaultSaveDirectory, getGlobalManager, getUserProfile, invokeCommand, printconsolehelp, printwelcome, registerAlertHandler, registerPluginCommand, registerUpdateChecker, run, saveAliases, unregisterCommand, unregisterCommand, unregisterPluginCommand |
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiUserConsoleInput(java.lang.String con, AzureusCore _azureus_core, java.io.Reader _in, java.io.PrintStream _out, java.lang.Boolean _controlling, UserProfile profile)
con
- _azureus_core
- _in
- _out
- _controlling
- profile
- Method Detail |
---|
protected void initialise()
initialise
in class ConsoleInput
protected void registerCommands()
registerCommands
in class ConsoleInput
public void registerCommand(IConsoleCommand command)
registerCommand
in class ConsoleInput
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |