Package org.aesh.terminal.telnet
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
-
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aesh.terminal.Device
getColorDepth, getImageProtocol, isMultiplexer, supportsImages, 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
-