Package org.aesh.terminal.telnet
Class TelnetDevice
java.lang.Object
org.aesh.terminal.telnet.TelnetDevice
- All Implemented Interfaces:
org.aesh.terminal.Device
Device implementation for Telnet 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
ConstructorsConstructorDescriptionTelnetDevice(String terminalType) Creates a new TelnetDevice with the specified terminal type. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanCapability(org.aesh.terminal.tty.Capability capability) getNumericCapability(org.aesh.terminal.tty.Capability capability) getStringCapability(org.aesh.terminal.tty.Capability capability) int[]getStringCapabilityAsInts(org.aesh.terminal.tty.Capability capability, Object... params) booleanbooleantype()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aesh.terminal.Device
detectTerminalType, getColorDepth, getImageProtocol, isJetBrainsTerminal, isMultiplexer, isTmuxPassthroughEnabled, supportsGraphemeClusterMode, supportsHyperlinks, supportsImages, supportsOscCode, supportsOscQueries, supportsShellIntegration, supportsSynchronizedOutput, supportsThemeQuery
-
Constructor Details
-
TelnetDevice
Creates a new TelnetDevice with the specified terminal type.- Parameters:
terminalType- the terminal type string (e.g., "xterm", "vt100")
-
-
Method Details
-
type
- Specified by:
typein interfaceorg.aesh.terminal.Device
-
getBooleanCapability
public boolean getBooleanCapability(org.aesh.terminal.tty.Capability capability) - Specified by:
getBooleanCapabilityin interfaceorg.aesh.terminal.Device
-
getNumericCapability
- Specified by:
getNumericCapabilityin interfaceorg.aesh.terminal.Device
-
getStringCapability
- Specified by:
getStringCapabilityin interfaceorg.aesh.terminal.Device
-
getStringCapabilityAsInts
public int[] getStringCapabilityAsInts(org.aesh.terminal.tty.Capability capability, Object... params) - Specified by:
getStringCapabilityAsIntsin interfaceorg.aesh.terminal.Device
-
puts
public boolean puts(Consumer<int[]> output, org.aesh.terminal.tty.Capability capability, Object... params) - Specified by:
putsin interfaceorg.aesh.terminal.Device
-
puts
- Specified by:
putsin interfaceorg.aesh.terminal.Device
-