public class FreeBsdNativePty extends JnaNativePty
Constructor and Description |
---|
FreeBsdNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name) |
Modifier and Type | Method and Description |
---|---|
static FreeBsdNativePty |
current() |
Attributes |
getAttr() |
Size |
getSize() |
static FreeBsdNativePty |
open(Attributes attr,
Size size) |
void |
setAttr(Attributes attr) |
void |
setSize(Size size) |
close, getMaster, getMasterFD, getMasterInput, getMasterOutput, getName, getSlave, getSlaveFD, getSlaveInput, getSlaveOutput, newDescriptor
public FreeBsdNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, 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
public void setAttr(Attributes attr) throws IOException
IOException
public Size getSize() throws IOException
IOException
public void setSize(Size size) throws IOException
IOException
Copyright © 2019. All rights reserved.