vertx / io.vertx.rxjava.ext.shell.term / Pty

Pty

open class Pty

A pseudo terminal used for controlling a io.vertx.rxjava.ext.shell.term.Tty. This interface acts as a pseudo terminal master, io.vertx.rxjava.ext.shell.term.Pty#slave returns the assocated slave pseudo terminal. NOTE: This class has been automatically generated from the io.vertx.ext.shell.term.Pty non RX-ified interface using Vert.x codegen.

Constructors

<init>

Pty(delegate: Pty)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<Pty>

Functions

create

open static fun create(): Pty

Create a new pseudo terminal with no terminal type.

open static fun create(terminalType: String): Pty

Create a new pseudo terminal.

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): Pty

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: Pty): Pty

setSize

open fun setSize(width: Int, height: Int): Pty

Resize the terminal.

slave

open fun slave(): Tty

stdoutHandler

open fun stdoutHandler(handler: Handler<String>): Pty

Set the standard out handler of the pseudo terminal.

toString

open fun toString(): String

write

open fun write(data: String): Pty

Write data to the slave standard input of the pseudo terminal.