Class SSHDevice

java.lang.Object
org.aesh.terminal.BaseDevice
org.aesh.terminal.ssh.SSHDevice
All Implemented Interfaces:
org.aesh.terminal.Device

public class SSHDevice extends org.aesh.terminal.BaseDevice
Device implementation for SSH terminal connections.
Author:
Ståle W. Pedersen
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.aesh.terminal.Device

    org.aesh.terminal.Device.OscCode, org.aesh.terminal.Device.TerminalType
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new SSH device with the specified terminal type.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    getBooleanCapability(org.aesh.terminal.tty.Capability capability)
     
    getNumericCapability(org.aesh.terminal.tty.Capability capability)
     
    getStringCapability(org.aesh.terminal.tty.Capability capability)
     
     

    Methods inherited from class org.aesh.terminal.BaseDevice

    getStringCapabilityAsInts, puts, puts

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.aesh.terminal.Device

    detectTerminalType, getColorDepth, getImageProtocol, isJetBrainsTerminal, isMultiplexer, isTmuxPassthroughEnabled, supportsGraphemeClusterMode, supportsHyperlinks, supportsImages, supportsOscCode, supportsOscQueries, supportsShellIntegration, supportsSynchronizedOutput, supportsThemeQuery
  • Constructor Details

    • SSHDevice

      public SSHDevice(String type)
      Creates a new SSH device with the specified terminal type.
      Parameters:
      type - the terminal type (e.g., "xterm", "vt100")
  • Method Details

    • type

      public String type()
      Specified by:
      type in interface org.aesh.terminal.Device
      Overrides:
      type in class org.aesh.terminal.BaseDevice
    • getBooleanCapability

      public boolean getBooleanCapability(org.aesh.terminal.tty.Capability capability)
      Specified by:
      getBooleanCapability in interface org.aesh.terminal.Device
      Overrides:
      getBooleanCapability in class org.aesh.terminal.BaseDevice
    • getNumericCapability

      public Integer getNumericCapability(org.aesh.terminal.tty.Capability capability)
      Specified by:
      getNumericCapability in interface org.aesh.terminal.Device
      Overrides:
      getNumericCapability in class org.aesh.terminal.BaseDevice
    • getStringCapability

      public String getStringCapability(org.aesh.terminal.tty.Capability capability)
      Specified by:
      getStringCapability in interface org.aesh.terminal.Device
      Overrides:
      getStringCapability in class org.aesh.terminal.BaseDevice