Closeable
, AutoCloseable
, Pty
public class OsXNativePty extends JnaNativePty
Constructor | Description |
---|---|
OsXNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
int slaveOut,
FileDescriptor slaveOutFD,
String name) |
|
OsXNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name) |
Modifier and Type | Method | Description |
---|---|---|
static OsXNativePty |
current() |
|
protected void |
doSetAttr(Attributes attr) |
|
Attributes |
getAttr() |
|
Size |
getSize() |
|
static OsXNativePty |
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 OsXNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, String name)
public OsXNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, int slaveOut, FileDescriptor slaveOutFD, String name)
public static OsXNativePty current() throws IOException
IOException
public static OsXNativePty 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.