Package org.aesh.terminal.tty.impl
Class WinExternalTerminal
java.lang.Object
org.aesh.terminal.tty.impl.AbstractTerminal
org.aesh.terminal.tty.impl.LineDisciplineTerminal
org.aesh.terminal.tty.impl.ExternalTerminal
org.aesh.terminal.tty.impl.WinExternalTerminal
- All Implemented Interfaces:
Closeable,AutoCloseable,Terminal
Windows-specific external terminal implementation with CR/LF handling.
- Author:
- Stale W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aesh.terminal.Terminal
Terminal.SignalHandler -
Field Summary
Fields inherited from class org.aesh.terminal.tty.impl.ExternalTerminal
masterInputFields inherited from class org.aesh.terminal.tty.impl.LineDisciplineTerminal
attributes, masterOutput, size, slaveInput, slaveInputPipe, slaveOutput -
Constructor Summary
ConstructorsConstructorDescriptionWinExternalTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput) Create a new Windows external terminal. -
Method Summary
Methods inherited from class org.aesh.terminal.tty.impl.ExternalTerminal
close, pumpMethods inherited from class org.aesh.terminal.tty.impl.LineDisciplineTerminal
closeSlaveInputPipe, getAttributes, getSize, input, output, processInputByte, processInputBytes, processInputBytes, processInputBytes, processOutputByte, raise, setAttributesMethods inherited from class org.aesh.terminal.tty.impl.AbstractTerminal
device, echo, echo, echoSignal, getName, getType, handle, handleDefaultSignalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aesh.terminal.Terminal
getCodePointConsumer
-
Constructor Details
-
WinExternalTerminal
public WinExternalTerminal(String name, String type, InputStream masterInput, OutputStream masterOutput) throws IOException Create a new Windows external terminal.- Parameters:
name- the terminal nametype- the terminal typemasterInput- the master input streammasterOutput- the master output stream- Throws:
IOException- if an I/O error occurs
-