Closeable
, AutoCloseable
, Pty
public class LinuxNativePty extends JnaNativePty
Modifier and Type | Class | Description |
---|---|---|
static interface |
LinuxNativePty.UtilLibrary |
Constructor | Description |
---|---|
LinuxNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
int slaveOut,
FileDescriptor slaveOutFD,
String name) |
|
LinuxNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name) |
Modifier and Type | Method | Description |
---|---|---|
static LinuxNativePty |
current() |
|
protected void |
doSetAttr(Attributes attr) |
|
Attributes |
getAttr() |
|
Size |
getSize() |
|
static LinuxNativePty |
open(Attributes attr,
Size size) |
|
void |
setSize(Size size) |
close, doGetSlaveInput, getMaster, getMasterFD, getMasterInput, getMasterOutput, getName, getSlave, getSlaveFD, getSlaveOut, getSlaveOutFD, getSlaveOutput, newDescriptor, toString
checkInterrupted, getSlaveInput, setAttr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSlaveInput, setAttr
public LinuxNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, String name)
public LinuxNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, int slaveOut, FileDescriptor slaveOutFD, String name)
public static LinuxNativePty current() throws IOException
IOException
public static LinuxNativePty open(Attributes attr, Size size) throws IOException
IOException
public Attributes getAttr() throws IOException
IOException
protected void doSetAttr(Attributes attr) throws IOException
doSetAttr
in class AbstractPty
IOException
public Size getSize() throws IOException
IOException
public void setSize(Size size) throws IOException
IOException
Copyright © 2020. All rights reserved.