public class Pty extends Object
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Pty> |
__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static Pty |
create()
Create a new pseudo terminal with no terminal type.
|
static Pty |
create(String terminalType)
Create a new pseudo terminal.
|
boolean |
equals(Object o) |
Pty |
getDelegate() |
int |
hashCode() |
static Pty |
newInstance(Pty arg) |
Pty |
setSize(int width,
int height)
Resize the terminal.
|
Tty |
slave() |
Pty |
stdoutHandler(Handler<String> handler)
Set the standard out handler of the pseudo terminal.
|
String |
toString() |
Pty |
write(String data)
Write data to the slave standard input of the pseudo terminal.
|
public static final io.vertx.lang.rx.TypeArg<Pty> __TYPE_ARG
public Pty getDelegate()
public static Pty create()
public static Pty create(String terminalType)
terminalType
- the terminal type, for instancepublic Pty stdoutHandler(Handler<String> handler)
handler
- the standard outputpublic Pty write(String data)
data
- the data to writepublic Pty setSize(int width, int height)
width
- height
- public Tty slave()
Copyright © 2021 Eclipse. All rights reserved.