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