com.maverick.sshd.shell
Class RootShell
java.lang.Object
com.maverick.sshd.shell.AbstractCommand
com.maverick.sshd.shell.Msh
com.maverick.sshd.shell.RootShell
- All Implemented Interfaces:
- ShellCommand, Completor
public class RootShell
- extends Msh
|
Field Summary |
static org.apache.commons.logging.Log |
log
|
| Methods inherited from class com.maverick.sshd.shell.AbstractCommand |
complete, getCollection, getCommandName, getDescription, getExitCode, getName, getOptions, getSignature, getSubsystem, isBuiltIn, setBuiltIn, setDescription, setName, setSignature, setSubsystem |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.commons.logging.Log log
RootShell
public RootShell()
run
public void run(org.apache.commons.cli.CommandLine args,
VirtualProcess process)
throws IOException,
PermissionDeniedException
- Specified by:
run in interface ShellCommand- Overrides:
run in class Msh
- Throws:
IOException
PermissionDeniedException
startShell
public boolean startShell(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
SessionChannel session)
throws IOException,
PermissionDeniedException
- Throws:
IOException
PermissionDeniedException
setKeyBindings
protected void setKeyBindings(InputStream keyBindings)
throws IOException
- Throws:
IOException
exit
public void exit()
- Overrides:
exit in class Msh
execCommand
public void execCommand(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
String cmd,
SessionChannel session)
throws IOException,
PermissionDeniedException
- Throws:
IOException
PermissionDeniedException
getProcess
public VirtualProcess getProcess()
initVFS
protected void initVFS(SessionChannel session)
throws PermissionDeniedException,
IOException
- Throws:
PermissionDeniedException
IOException
start
public void start()
Copyright © 2012. All Rights Reserved.