Class UnixPtyEndpoint

java.lang.Object
ghidra.pty.unix.UnixPtyEndpoint
All Implemented Interfaces:
PtyEndpoint
Direct Known Subclasses:
UnixPtyChild, UnixPtyParent

public class UnixPtyEndpoint extends Object implements PtyEndpoint
  • Field Details Link icon

    • ioctls Link icon

      protected final PosixC.Ioctls ioctls
    • fd Link icon

      protected final int fd
  • Method Details Link icon

    • getOutputStream Link icon

      public OutputStream getOutputStream()
      Description copied from interface: PtyEndpoint
      Get the output stream for this end of the pty

      Writes to this stream arrive on the input stream for the opposite end, subject to the terminal's line discipline.

      Specified by:
      getOutputStream in interface PtyEndpoint
      Returns:
      the output stream
    • getInputStream Link icon

      public InputStream getInputStream()
      Description copied from interface: PtyEndpoint
      Get the input stream for this end of the pty

      Writes to the output stream of the opposite end arrive here, subject to the terminal's line discipline.

      Specified by:
      getInputStream in interface PtyEndpoint
      Returns:
      the input stream
    • closeStreams Link icon

      protected void closeStreams() throws IOException
      Throws:
      IOException