Package ghidra.pty
Interface PtyEndpoint
- All Known Implementing Classes:
ConPtyChild
,ConPtyEndpoint
,ConPtyParent
,SshPtyChild
,SshPtyEndpoint
,SshPtyParent
,UnixPtyChild
,UnixPtyEndpoint
,UnixPtyParent
public interface PtyEndpoint
One end of a pseudo-terminal
-
Method Summary
Modifier and TypeMethodDescriptionGet the input stream for this end of the ptyGet the output stream for this end of the pty
-
Method Details
-
getOutputStream
OutputStream getOutputStream()Get the output stream for this end of the ptyWrites to this stream arrive on the input stream for the opposite end, subject to the terminal's line discipline.
- Returns:
- the output stream
- Throws:
UnsupportedOperationException
- if this end is not local
-
getInputStream
InputStream getInputStream()Get the input stream for this end of the ptyWrites to the output stream of the opposite end arrive here, subject to the terminal's line discipline.
- Returns:
- the input stream
- Throws:
UnsupportedOperationException
- if this end is not local
-