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.
Demonstration commands 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 TypeInterfaceDescriptioninterfaceAConsoleSessionassociated with the direct execution of a single command.interfaceAConsoleSessionassociated with an interactive shell.Classes in org.dellroad.jct.core that implement ConsoleSessionModifier and TypeClassDescriptionclassAbstractConsoleSession<O,R extends ConsoleRequest<R>> Support superclass forConsoleSessionimplementations.classSupport superclass forExecSessionimplementations.classSupport superclass forShellSessionimplementations. -
Uses of ConsoleSession in org.dellroad.jct.core.simple
Classes in org.dellroad.jct.core.simple that implement ConsoleSessionModifier and TypeClassDescriptionstatic classDefaultExecSessionimplementation used bySimpleExec.static classDefaultShellSessionimplementation used bySimpleShell.Methods in org.dellroad.jct.core.simple with parameters of type ConsoleSessionModifier and TypeMethodDescriptionintSimpleCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) Execute this command in the current thread and return success or failure.intSimpleCommandSupport.FoundCommand.execute(ConsoleSession<?, ?> session) Execute this command.protected voidAbstractSimpleCommand.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 TypeMethodDescriptionintDateCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) intEchoCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) intExitCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) intHelpCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) intSleepCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) intSubshellCommand.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.SignalHandlerConsoleUtil.interrruptHandler(Supplier<? extends ConsoleSession<?, ?>> sessionGetter, org.jline.terminal.Terminal.SignalHandler fallthroughHandler) Build aTerminalsignal handler thatinterrupt()'s aConsoleSessionwhen aTerminal.Signal.INTsignal is received. -
Uses of ConsoleSession in org.dellroad.jct.demo.command
Methods in org.dellroad.jct.demo.command with parameters of type ConsoleSessionModifier and TypeMethodDescriptionintExecCommand.execute(ConsoleSession<?, ?> session, String name, List<String> args) -
Uses of ConsoleSession in org.dellroad.jct.jshell
Classes in org.dellroad.jct.jshell that implement ConsoleSessionModifier and TypeClassDescriptionclassAShellSessionthat builds and executes aJShellinstance. -
Uses of ConsoleSession in org.dellroad.jct.ssh
Fields in org.dellroad.jct.ssh declared as ConsoleSessionModifier and TypeFieldDescriptionprotected SAbstractCommand.session