Uses of Interface
org.dellroad.jct.core.ConsoleSession
Packages that use ConsoleSession
Package
Description
Core classes for the Java Console Toolkit.
Simple console implementation for the Java Console Toolkit.
A few simple commands.
Utility classes for the Java Console Toolkit.
Shell
wrappers for JShell.Classes for connecting an SSH server to the Java Console Toolkit.
-
Uses of ConsoleSession in org.dellroad.jct.core
Subinterfaces of ConsoleSession in org.dellroad.jct.coreModifier and TypeInterfaceDescriptioninterface
AConsoleSession
associated with the direct execution of a single command.interface
AConsoleSession
associated with an interactive shell.Classes in org.dellroad.jct.core that implement ConsoleSessionModifier and TypeClassDescriptionclass
AbstractConsoleSession<O,
R extends ConsoleRequest<R>> Support superclass forConsoleSession
implementations.class
Support superclass forExecSession
implementations.class
Support superclass forShellSession
implementations. -
Uses of ConsoleSession in org.dellroad.jct.core.simple
Classes in org.dellroad.jct.core.simple that implement ConsoleSessionModifier and TypeClassDescriptionstatic class
DefaultExecSession
implementation used bySimpleExec
.static class
DefaultShellSession
implementation used bySimpleShell
.Methods in org.dellroad.jct.core.simple with parameters of type ConsoleSessionModifier and TypeMethodDescriptionint
SimpleCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) Execute this command in the current thread and return success or failure.int
SimpleCommandSupport.FoundCommand.execute
(ConsoleSession<?, ?> session) Execute this command.protected void
AbstractSimpleCommand.printUsage
(ConsoleSession<?, ?> session, String name) -
Uses of ConsoleSession in org.dellroad.jct.core.simple.command
Methods in org.dellroad.jct.core.simple.command with parameters of type ConsoleSessionModifier and TypeMethodDescriptionint
DateCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) int
EchoCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) int
ExitCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) int
HelpCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) int
SleepCommand.execute
(ConsoleSession<?, ?> session, String name, List<String> args) int
SubshellCommand.execute
(ConsoleSession<?, ?> session0, String name, List<String> params) -
Uses of ConsoleSession in org.dellroad.jct.core.util
Method parameters in org.dellroad.jct.core.util with type arguments of type ConsoleSessionModifier and TypeMethodDescriptionstatic org.jline.terminal.Terminal.SignalHandler
ConsoleUtil.interrruptHandler
(Supplier<? extends ConsoleSession<?, ?>> sessionGetter, org.jline.terminal.Terminal.SignalHandler fallthroughHandler) Build aTerminal
signal handler thatinterrupt()
's aConsoleSession
when aTerminal.Signal.INT
signal is received. -
Uses of ConsoleSession in org.dellroad.jct.jshell
Classes in org.dellroad.jct.jshell that implement ConsoleSessionModifier and TypeClassDescriptionclass
AShellSession
that builds and executes aJShell
instance. -
Uses of ConsoleSession in org.dellroad.jct.ssh
Fields in org.dellroad.jct.ssh declared as ConsoleSessionModifier and TypeFieldDescriptionprotected S
AbstractCommand.session