Class TelnetDevice
java.lang.Object
org.aesh.terminal.telnet.TelnetDevice
- All Implemented Interfaces:
Device
Device implementation for Telnet terminal connections.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface Device
Device.OscCode, Device.TerminalType -
Constructor Summary
ConstructorsConstructorDescriptionTelnetDevice(String terminalType) Creates a new TelnetDevice with the specified terminal type. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanCapability(Capability capability) getNumericCapability(Capability capability) getStringCapability(Capability capability) int[]getStringCapabilityAsInts(Capability capability, Object... params) booleanbooleanputs(Consumer<int[]> output, Capability capability, Object... params) type()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Device
detectTerminalType, getColorDepth, getImageProtocol, isJetBrainsTerminal, isMultiplexer, isTmuxPassthroughEnabled, supportsImages, supportsOscCode, supportsOscQueries
-
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
-
getBooleanCapability
- Specified by:
getBooleanCapabilityin interfaceDevice
-
getNumericCapability
- Specified by:
getNumericCapabilityin interfaceDevice
-
getStringCapability
- Specified by:
getStringCapabilityin interfaceDevice
-
getStringCapabilityAsInts
- Specified by:
getStringCapabilityAsIntsin interfaceDevice
-
puts
-
puts
-