Package org.jline.terminal.impl
Class AbstractPty
java.lang.Object
org.jline.terminal.impl.AbstractPty
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Pty
- Direct Known Subclasses:
ExecPty
,JansiNativePty
,JnaNativePty
,JniNativePty
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected abstract InputStream
protected abstract void
doSetAttr
(Attributes attr) protected static FileDescriptor
newDescriptor
(int fd) void
setAttr
(Attributes attr) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jline.terminal.spi.Pty
getAttr, getMasterInput, getMasterOutput, getSize, getSlaveOutput, setSize
-
Field Details
-
provider
-
systemStream
-
-
Constructor Details
-
AbstractPty
-
-
Method Details
-
setAttr
- Specified by:
setAttr
in interfacePty
- Throws:
IOException
-
getSlaveInput
- Specified by:
getSlaveInput
in interfacePty
- Throws:
IOException
-
doSetAttr
- Throws:
IOException
-
doGetSlaveInput
- Throws:
IOException
-
checkInterrupted
- Throws:
InterruptedIOException
-
getProvider
- Specified by:
getProvider
in interfacePty
-
getSystemStream
- Specified by:
getSystemStream
in interfacePty
-
newDescriptor
-