Class AbstractPty

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Pty
    Direct Known Subclasses:
    ExecPty

    public abstract class AbstractPty
    extends java.lang.Object
    implements Pty
    • Method Detail

      • setAttr

        public void setAttr​(Attributes attr)
                     throws java.io.IOException
        Specified by:
        setAttr in interface Pty
        Throws:
        java.io.IOException
      • getSlaveInput

        public java.io.InputStream getSlaveInput()
                                          throws java.io.IOException
        Specified by:
        getSlaveInput in interface Pty
        Throws:
        java.io.IOException
      • doSetAttr

        protected abstract void doSetAttr​(Attributes attr)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • doGetSlaveInput

        protected abstract java.io.InputStream doGetSlaveInput()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • checkInterrupted

        protected void checkInterrupted()
                                 throws java.io.InterruptedIOException
        Throws:
        java.io.InterruptedIOException
      • newDescriptor

        protected static java.io.FileDescriptor newDescriptor​(int fd)