public class DefaultVirtualProcessFactory extends Object implements VirtualProcessFactory
Constructor and Description |
---|
DefaultVirtualProcessFactory() |
Modifier and Type | Method and Description |
---|---|
VirtualProcess |
createChildProcess(VirtualProcess parent,
ShellCommand cmd,
Msh msh) |
VirtualProcess |
createRootProcess(TerminalOutput terminal,
Msh msh,
Environment environment,
Thread thread,
ShellCommand command,
AbstractFile workingDirectory,
Console console,
SessionChannel session) |
void |
destroy(VirtualProcess virtualProcess) |
Collection<VirtualProcess> |
getRootProcesses() |
public VirtualProcess createRootProcess(TerminalOutput terminal, Msh msh, Environment environment, Thread thread, ShellCommand command, AbstractFile workingDirectory, Console console, SessionChannel session) throws IOException, PermissionDeniedException
createRootProcess
in interface VirtualProcessFactory
IOException
PermissionDeniedException
public VirtualProcess createChildProcess(VirtualProcess parent, ShellCommand cmd, Msh msh) throws IOException, PermissionDeniedException
createChildProcess
in interface VirtualProcessFactory
IOException
PermissionDeniedException
public Collection<VirtualProcess> getRootProcesses()
getRootProcesses
in interface VirtualProcessFactory
public void destroy(VirtualProcess virtualProcess)
destroy
in interface VirtualProcessFactory
Copyright © 2024. All rights reserved.