Package ghidra.pty.windows
Class ConPtyEndpoint
java.lang.Object
ghidra.pty.windows.ConPtyEndpoint
- All Implemented Interfaces:
PtyEndpoint
- Direct Known Subclasses:
ConPtyChild
,ConPtyParent
-
Field Summary
Modifier and TypeFieldDescriptionprotected final InputStream
protected final OutputStream
protected final PseudoConsoleHandle
-
Constructor Summary
ConstructorDescriptionConPtyEndpoint
(Handle writeHandle, Handle readHandle, PseudoConsoleHandle pseudoConsoleHandle) -
Method Summary
Modifier and TypeMethodDescriptionGet the input stream for this end of the ptyGet the output stream for this end of the pty
-
Field Details
-
inputStream
-
outputStream
-
pseudoConsoleHandle
-
-
Constructor Details
-
ConPtyEndpoint
public ConPtyEndpoint(Handle writeHandle, Handle readHandle, PseudoConsoleHandle pseudoConsoleHandle)
-
-
Method Details
-
getOutputStream
Description copied from interface:PtyEndpoint
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.
- Specified by:
getOutputStream
in interfacePtyEndpoint
- Returns:
- the output stream
-
getInputStream
Description copied from interface:PtyEndpoint
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.
- Specified by:
getInputStream
in interfacePtyEndpoint
- Returns:
- the input stream
-