public class LinuxNativePty extends JnaNativePty
Constructor and Description |
---|
LinuxNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name) |
Modifier and Type | Method and Description |
---|---|
static LinuxNativePty |
current() |
Attributes |
getAttr() |
Size |
getSize() |
static LinuxNativePty |
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 LinuxNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, 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
public void setAttr(Attributes attr) throws IOException
IOException
public Size getSize() throws IOException
IOException
public void setSize(Size size) throws IOException
IOException
Copyright © 2018. All rights reserved.